summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index fec6661e3..3f50b9e91 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -16,8 +16,9 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-TARGET_CFLAGS:= ''
TARGET_CPPFLAGS:= ''
+TARGET_CFLAGS:= ''
+TARGET_CXXFLAGS:= $(filter-out -fstack-protector,$(TARGET_CXXFLAGS))
ifeq ($(ADK_LINUX_64),y)
CONFIGURE_ARGS+= --with-abi=64