diff options
author | olgeni <olgeni@FreeBSD.org> | 2016-08-23 19:00:57 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2016-08-23 19:00:57 +0800 |
commit | 07a98bb3cb436d61df56bd089da9dfc72dbe1f47 (patch) | |
tree | 03ae0a611964078a1f81a86c9d559d2007e78aca /Mk | |
parent | 43d18f954016d8fa0f14a75d98d5eb3daf93d2ba (diff) | |
download | freebsd-ports-gnome-07a98bb3cb436d61df56bd089da9dfc72dbe1f47.tar.gz freebsd-ports-gnome-07a98bb3cb436d61df56bd089da9dfc72dbe1f47.tar.zst freebsd-ports-gnome-07a98bb3cb436d61df56bd089da9dfc72dbe1f47.zip |
Pass MAKE_ENV to the ERLANG_COMPILE command, so that CFLAGS and
LDFLAGS actually reach the C compiler when invoked by rebar.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/erlang.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/erlang.mk b/Mk/Uses/erlang.mk index 8703d8e8678d..968730c0564b 100644 --- a/Mk/Uses/erlang.mk +++ b/Mk/Uses/erlang.mk @@ -95,7 +95,7 @@ do-build: .for target in ${REBAR_TARGETS} # Remove rebar.lock every time - it can be created again after each run of rebar3 @${RM} ${WRKSRC}/rebar.lock - @cd ${WRKSRC} && REBAR_PROFILE=${REBAR_PROFILE} ${ERLANG_COMPILE} ${target} + @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} REBAR_PROFILE=${REBAR_PROFILE} ${ERLANG_COMPILE} ${target} .endfor .endif # !target(do-build) |