aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-10 23:53:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-11 00:05:52 +0100
commit3e0900c04c6810b6d9001cfde8a63348876bbd7c (patch)
treeb853596bb43d59b423ce08cce76eb65fde265376
parent5b7a4ffd500523b630d7b6a9629d6691d23ece34 (diff)
downloadbuildroot-3e0900c04c6810b6d9001cfde8a63348876bbd7c.tar.gz
buildroot-3e0900c04c6810b6d9001cfde8a63348876bbd7c.tar.bz2
gcc: enable poison system directories option
This commit enables the poison system directories option, which is now available thanks to the gcc patches that have been added. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Romain Naour <romain.naour@openwide.fr>
-rw-r--r--package/gcc/gcc-final/gcc-final.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index 46ef5c6bc0..958b4452d7 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -50,6 +50,7 @@ HOST_GCC_FINAL_CONF_OPTS = \
$(HOST_GCC_COMMON_CONF_OPTS) \
--enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \
$(DISABLE_LARGEFILE) \
+ --enable-poison-system-directories \
--with-build-time-tools=$(HOST_DIR)/usr/$(GNU_TARGET_NAME)/bin
# Disable shared libs like libstdc++ if we do static since it confuses linking