summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:12:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 11:12:47 +0200
commit768563bdd46d3c278e4aaf30aecb3903d58922ca (patch)
treefa9fd67da72adc1bdc21a8111686edc8d5ef6be2 /toolchain
parent1e2aa4d3dd5424b3c0aaefdca585608fe9b4092e (diff)
use TARGET_CFLAGS for musl compile, seems to fix shared library problem
Diffstat (limited to 'toolchain')
-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