summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:32:47 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-01 09:32:47 +0100
commitbba1d4f4e14ee3a0bf55ab88caa70dc7f7667d95 (patch)
treed1090994d50da48ac08d0d817c1d48ffac913efa /package/gcc/Makefile
parentb700bbdede249dd290dc67ff2ebdaf730e3ffa6a (diff)
parente5c844f443a59fca7b421518682f5ae113a7a49f (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 9e043401a..99984ac20 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_MIPS_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