aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorHesaam Farhang <[email protected]>2016-06-27 10:37:31 -0700
committerLoïc Hoguin <[email protected]>2016-10-19 15:21:12 +0200
commit3179292c768bc79e17f2c905a2d47d458e453964 (patch)
tree775b4a6c6e25e3b6a58654751cdc482a4132e95a /core/deps.mk
parent999054109206ecf4ed3a0d7394fdd5c50d1f6a44 (diff)
downloaderlang.mk-3179292c768bc79e17f2c905a2d47d458e453964.tar.gz
erlang.mk-3179292c768bc79e17f2c905a2d47d458e453964.tar.bz2
erlang.mk-3179292c768bc79e17f2c905a2d47d458e453964.zip
merge PortSpec env into each output env
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 c8237e9..11959d2 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -375,7 +375,7 @@ define dep_autopatch_rebar.erl
"%.o: %.C\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
"%.o: %.cc\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
"%.o: %.cpp\n\t$$\(CXX) -c -o $$\@ $$\< $$\(CXXFLAGS) $$\(ERL_CFLAGS) $$\(DRV_CFLAGS) $$\(EXE_CFLAGS)\n\n",
- [[Output, ": ", K, " = ", ShellToMk(V), "\n"] || {K, V} <- lists:reverse(MergeEnv(FilterEnv(Env)))],
+ [[Output, ": ", K, " += ", ShellToMk(V), "\n"] || {K, V} <- lists:reverse(MergeEnv(FilterEnv(Env)))],
Output, ": $$\(foreach ext,.c .C .cc .cpp,",
"$$\(patsubst %$$\(ext),%.o,$$\(filter %$$\(ext),$$\(wildcard", Input, "))))\n",
"\t$$\(CC) -o $$\@ $$\? $$\(LDFLAGS) $$\(ERL_LDFLAGS) $$\(DRV_LDFLAGS) $$\(EXE_LDFLAGS)",