summaryrefslogtreecommitdiff
path: root/toolchain/glibc/Makefile.inc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:54:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-24 13:55:01 +0200
commit9c6a7e927aa4f52d04d8f573e4ea3ea3aaaf061e (patch)
treefde9ea6cb348a5b74e6da6b7446ea220c1840116 /toolchain/glibc/Makefile.inc
parent086da7a91ef0a4fbf5ae524923475ae15e7e6f37 (diff)
fix build with ssp enabled
Diffstat (limited to 'toolchain/glibc/Makefile.inc')
-rw-r--r--toolchain/glibc/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/glibc/Makefile.inc b/toolchain/glibc/Makefile.inc
index 72b51d254..f5f397d35 100644
--- a/toolchain/glibc/Makefile.inc
+++ b/toolchain/glibc/Makefile.inc
@@ -20,6 +20,8 @@ GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
--with-tls \
--enable-kernel="2.6.32" \
--enable-add-ons
+TARGET_CFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_CFLAGS))
+TARGET_LDFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_LDFLAGS))
GLIBC_ENV:= PATH='${TARGET_PATH}' \
CONFIG_SHELL='$(strip ${SHELL})' \
BUILD_CC=${CC_FOR_BUILD} \