summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolchain/musl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 3955e3eda..d2c07d194 100644
--- a/toolchain/musl/Makefile
+++ b/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