Explorar o código

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

Waldemar Brodkorb %!s(int64=12) %!d(string=hai) anos
pai
achega
768563bdd4
Modificáronse 1 ficheiros con 1 adicións e 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