summaryrefslogtreecommitdiff
path: root/mk/host.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-31 18:01:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-31 18:01:03 +0100
commitd4b446db89ba29b844b1f05dc112bc8d5c573f4b (patch)
tree0f6bf55bd6514157374c11016fc537dfc6114a77 /mk/host.mk
parent1c2328a04fd17ddb2009d2f94ec075c7180e4ef5 (diff)
parentc37b25dfca1079115418200bf39faa00b8e14012 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/host.mk')
-rw-r--r--mk/host.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/host.mk b/mk/host.mk
index 855adf0d1..619ec140e 100644
--- a/mk/host.mk
+++ b/mk/host.mk
@@ -20,6 +20,11 @@ HOST_FAKE_FLAGS?=
HOST_ALL_TARGET?= all
HOST_INSTALL_TARGET?= install
+HOST_MAKE_ENV+= PATH='${TARGET_PATH}' \
+ CFLAGS='$(strip ${CFLAGS_FOR_BUILD})' \
+ CXXFLAGS='$(strip ${CXXFLAGS_FOR_BUILD})' \
+ CPPFLAGS='$(strip ${CPPFLAGS_FOR_BUILD})' \
+ LDFLAGS='$(strip ${LDFLAGS_FOR_BUILD})'
HOST_MAKE_FLAGS+= ${HOST_XAKE_FLAGS} V=1
HOST_FAKE_FLAGS+= ${HOST_XAKE_FLAGS}