aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-05 14:59:45 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-05 14:59:45 +0000
commit6cae32e029fbf3d864f8029526894b09536262da (patch)
tree3f96f3fd4e71f2067ef2f46b8ce48c961233d796 /toolchain/gcc
parent4cb3d9cb9eb1dc6fff36315d519352f5f8c9eb88 (diff)
downloadupstream-6cae32e029fbf3d864f8029526894b09536262da.tar.gz
upstream-6cae32e029fbf3d864f8029526894b09536262da.tar.bz2
upstream-6cae32e029fbf3d864f8029526894b09536262da.zip
gcc: gcc 4.9.x disable libsanitize
gcc 4.9.x enables building of libsanitize - libsanitize needs some headers that are not available in uclibc (netrom/netrom.h) according to buildroot project: - build fail with musl - need wordexp with uclibc which increases uclibc size http://git.buildroot.net/buildroot/commit/?id=5f4d658d888b539de9a6247ae5b1a0999de5d4ec http://git.buildroot.net/buildroot/commit/?id=554e29e267e6b36a0fd78c82cbad2c82d939eb7f Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42767 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/final/Makefile1
-rw-r--r--toolchain/gcc/minimal/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/gcc/final/Makefile b/toolchain/gcc/final/Makefile
index 3529616fd5..3fb5ccf83f 100644
--- a/toolchain/gcc/final/Makefile
+++ b/toolchain/gcc/final/Makefile
@@ -4,6 +4,7 @@ include ../common.mk
GCC_CONFIGURE += \
--with-headers=$(TOOLCHAIN_DIR)/include \
+ --disable-libsanitizer \
--enable-languages=$(TARGET_LANGUAGES) \
--enable-shared \
--enable-threads \
diff --git a/toolchain/gcc/minimal/Makefile b/toolchain/gcc/minimal/Makefile
index a2564a18ee..0344e1a7ec 100644
--- a/toolchain/gcc/minimal/Makefile
+++ b/toolchain/gcc/minimal/Makefile
@@ -6,6 +6,7 @@ GCC_CONFIGURE += \
--with-newlib \
--without-headers \
--enable-languages=c \
+ --disable-libsanitizer \
--disable-libssp \
--disable-shared \
--disable-threads