summaryrefslogtreecommitdiff
path: root/tools/mksh/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-07 16:01:09 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-07 16:01:09 +0100
commitbccb7e471926219a01e6ce673d31009d5711fa53 (patch)
tree2075cb0e2e1cd69d31ffdfebc34cb0e4243417b4 /tools/mksh/Makefile
parentcc799ec57ca72d4bb56d34d19e9318c0b6b4b55d (diff)
oops, wrong cflags
Diffstat (limited to 'tools/mksh/Makefile')
-rw-r--r--tools/mksh/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/mksh/Makefile b/tools/mksh/Makefile
index 8cb7c29b7..a6ee57906 100644
--- a/tools/mksh/Makefile
+++ b/tools/mksh/Makefile
@@ -17,8 +17,8 @@ include ../rules.mk
install: ${STAGING_HOST_DIR}/usr/bin/mksh
$(WRKBUILD)/.compiled: ${WRKDIST}/.prepared
- cd ${WRKBUILD} && CC='${TARGET_CC}' CFLAGS='${TARGET_CFLAGS}' \
- CPPFLAGS='${TARGET_CPPFLAGS}' LDFLAGS='${TARGET_LDFLAGS}' \
+ cd ${WRKBUILD} && CC='${CC_FOR_BUILD}' CFLAGS='${CFLAGS_FOR_BUILD}' \
+ CPPFLAGS='${CPPFLAGS_FOR_BUILD}' LDFLAGS='${LDFLAGS_FOR_BUILD}' \
HAVE_CAN_FSTACKPROTECTORALL=0 \
TARGET_OS=Linux ${BASH} ${WRKSRC}/Build.sh -Q -r -c lto
touch $@