summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:20:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:20:03 +0100
commite5c844f443a59fca7b421518682f5ae113a7a49f (patch)
tree39e252bfe168c15ca5758636af69351ad9711acb /package/gcc/Makefile
parent0ff9736b2be7a518724dcb0b061639cf8e7391ab (diff)
parent256a81b3b12fceef1676d6114d9ff0568b645bca (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 4b8480342..30d9174a7 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -23,7 +23,7 @@ $(eval $(call PKG_template,GXX,g++,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},
TARGET_CPPFLAGS:= ''
TARGET_CFLAGS:= ''
-TARGET_CXXFLAGS:= $(filter-out -fstack-protector,$(TARGET_CXXFLAGS))
+TARGET_CXXFLAGS:= ''
ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y)
CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI)
@@ -57,6 +57,7 @@ endif
CONFIGURE_ENV+= have_sys_sdt_h=no
CONFIGURE_ARGS+= --host=$(REAL_GNU_TARGET_NAME) \
--target=$(REAL_GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
--disable-__cxa_atexit \
--without-headers \
--libexecdir=/usr/lib \
@@ -66,6 +67,8 @@ CONFIGURE_ARGS+= --host=$(REAL_GNU_TARGET_NAME) \
--disable-libgomp \
--disable-multilib \
--disable-libstdcxx-pch \
+ --disable-libsanitizer \
+ --disable-libitm \
--enable-cxx-flags="${TARGET_LDFLAGS}"
# disable honour cflags stuff