summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-31 19:11:53 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2017-11-06 23:59:52 (GMT)
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 3c3da3f..d786300 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|]||' ;\