summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/vars.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index b0b34a469..af73a23c7 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -347,7 +347,9 @@ HOST_ENV= CC='$(HOST_CC)' \
CPPFLAGS='$(HOST_CPPFLAGS)' \
CFLAGS='$(HOST_CFLAGS)' \
CXXFLAGS='$(HOST_CXXFLAGS)' \
- LDFLAGS='$(HOST_LDFLAGS)'
+ LDFLAGS='$(HOST_LDFLAGS)' \
+ CC_FOR_BUILD='$(HOST_CC)' \
+ CFLAGS_FOR_BUILD='$(HOST_CFLAGS)'
PKG_SUFFIX:= $(strip $(subst ",, $(ADK_PACKAGE_SUFFIX)))