summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index b1ce84f98..190cdf689 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -3,6 +3,9 @@
include $(TOPDIR)/rules.mk
include ../rules.mk
+
+TARGET_CFLAGS:= $(filter-out -fstack-protector,$(TARGET_CFLAGS))
+
include Makefile.inc
GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \