aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-05-04 14:06:35 +0200
committerLoïc Hoguin <[email protected]>2023-05-04 14:06:35 +0200
commit95ea4d634319f5866cf1246b1293b860e46e8077 (patch)
tree9cd742325950b529c619430958bba0edeab8fff4 /core/deps.mk
parent2b6744a9b01bbf49935577f3d14aff82e0e63370 (diff)
downloaderlang.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/deps.mk')
-rw-r--r--core/deps.mk2
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} ->