summaryrefslogtreecommitdiff
path: root/mk/host.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-30 16:01:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-30 16:01:06 +0100
commitc3c50b45244d5c94e1b880b37c3da202ed70fceb (patch)
treeb76a992fe898a1e4e71ded2b4c0dded78cd4bd8a /mk/host.mk
parentfdeed9b0c762e9f700f3e45869ec58057da449a1 (diff)
parent61cc800e46cc943824dc6a0b8e8d413f2795db9f (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}