summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-31 20:11:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-11-07 00:59:52 +0100
commitb9d9e97e51ee153c0781d54f7a6ebc166e23f22a (patch)
tree4557abe2650ea9535e5c950f0f896cd61e4dfd4d
parent2c2ddcb9d6619f41d268be19fc5f9ca216c18065 (diff)
musl: pass TARGET_CFLAGS for simple test app
-rw-r--r--package/musl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index 3c3da3f3e..d786300fa 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -26,7 +26,7 @@ CONFIG_STYLE:= manual
BUILD_STYLE:= manual
INSTALL_STYLE:= manual
-MUSL_LD_SO:= "`echo 'void main(void) {}' |${TARGET_CC} -x c -o \
+MUSL_LD_SO:= "`echo 'void main(void) {}' |${TARGET_CC} ${TARGET_CFLAGS} -x c -o \
$(BUILD_DIR)/.musl.tmp - >/dev/null 2>&1 ;\
${TARGET_COMPILER_PREFIX}readelf -l $(BUILD_DIR)/.musl.tmp 2>/dev/null \
| grep 'program interpreter: /lib/ld-musl' | sed -e 's|.*lib/||'|sed -e 's|]||' ;\