diff options
author | Loïc Hoguin <[email protected]> | 2023-05-04 14:06:35 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-05-04 14:06:35 +0200 |
commit | 95ea4d634319f5866cf1246b1293b860e46e8077 (patch) | |
tree | 9cd742325950b529c619430958bba0edeab8fff4 /core | |
parent | 2b6744a9b01bbf49935577f3d14aff82e0e63370 (diff) | |
download | erlang.mk-95ea4d634319f5866cf1246b1293b860e46e8077.tar.gz erlang.mk-95ea4d634319f5866cf1246b1293b860e46e8077.tar.bz2 erlang.mk-95ea4d634319f5866cf1246b1293b860e46e8077.zip |
Autopatch: do not export ERLC_OPTS
Otherwise some dependencies may get the wrong ERLC_OPTS
and may end up with invalid or duplicate options.
Diffstat (limited to 'core')
-rw-r--r-- | core/deps.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk index 6ca0ccc..7fc26a0 100644 --- a/core/deps.mk +++ b/core/deps.mk @@ -355,7 +355,7 @@ define dep_autopatch_rebar.erl (V) when is_list(V) -> "'\\"" ++ V ++ "\\"'" end, fun() -> - Write("ERLC_OPTS = +debug_info\nexport ERLC_OPTS\n"), + Write("ERLC_OPTS = +debug_info\n"), case lists:keyfind(erl_opts, 1, Conf) of false -> ok; {_, ErlOpts} -> |