diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/compiler/src/compile.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compiler/src/compile.erl b/lib/compiler/src/compile.erl index b106f856ee..be0f45323f 100644 --- a/lib/compiler/src/compile.erl +++ b/lib/compiler/src/compile.erl @@ -1369,8 +1369,6 @@ keep_compile_option(from_core) -> false; keep_compile_option({parse_transform, _}) -> false; keep_compile_option({d, _, _}) -> false; %% Do not affect compilation result on future calls. -keep_compile_option({outdir, _}) -> false; -keep_compile_option(warnings_as_errors) -> false; keep_compile_option(Option) -> effects_code_generation(Option). start_crypto() -> @@ -1498,9 +1496,11 @@ effects_code_generation(Option) -> report_errors -> false; return_errors-> false; return_warnings-> false; + warnings_as_errors -> false; binary -> false; verbose -> false; {cwd,_} -> false; + {outdir, _} -> false; _ -> true end. |