summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-29 14:44:16 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-29 14:46:18 +0200
commitc9ecb4ae551812962983ffbdf0cf1f2f9cf5dcde (patch)
tree31cb4cb9cde588be799740e81c2ff9281b1e6a32 /mk
parent08602b022e049a524961197c54a7ac5c2107801e (diff)
flags require for host env
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)))