summaryrefslogtreecommitdiff
path: root/toolchain/musl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-11 08:44:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-11 08:44:35 +0200
commit9c4ae62a55ebc763ac72e4b1513f305cdc1abe55 (patch)
tree9dc1cf6b74afbe68c93bee07503163d830dd7b5d /toolchain/musl/Makefile
parentf0bd75d79c4b390ddd3fb4288065e58fb674497d (diff)
add cleansystem target, filter fstack-protector-all for musl
Diffstat (limited to 'toolchain/musl/Makefile')
-rw-r--r--toolchain/musl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/musl/Makefile b/toolchain/musl/Makefile
index 720f1a41e..1e916fee4 100644
--- a/toolchain/musl/Makefile
+++ b/toolchain/musl/Makefile
@@ -9,6 +9,9 @@ include ${TOPDIR}/mk/buildhlp.mk
ifeq ($(ADK_TARGET_CPU_ARCH),ppc)
GNU_TARGET_NAME:= $(subst ppc,powerpc,$(GNU_TARGET_NAME))
endif
+# not yet possible
+TARGET_CFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_CFLAGS))
+TARGET_LDFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_LDFLAGS))
$(WRKBUILD)/.headers:
(cd $(WRKBUILD); CC='$(TARGET_CC)' CROSS_COMPILE='$(TARGET_CROSS)' \