Explorar el Código

use TARGET_CFLAGS for musl compile, seems to fix shared library problem

Waldemar Brodkorb hace 12 años
padre
commit
768563bdd4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      toolchain/musl/Makefile

+ 1 - 1
toolchain/musl/Makefile

@@ -16,7 +16,7 @@ $(WRKBUILD)/.headers:
 	touch $@
 
 $(WRKBUILD)/.compiled:
-	$(MAKE) -C $(WRKBUILD) all
+	$(MAKE) CFLAGS='$(TARGET_CFLAGS)' -C $(WRKBUILD) all
 	touch $@
 
 $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled