Browse Source

musl: pass TARGET_CFLAGS for simple test app

Waldemar Brodkorb 6 years ago
parent
commit
b9d9e97e51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/musl/Makefile

+ 1 - 1
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|]||' ;\