gcc: enable poison system directories option
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Dec 2014 22:53:55 +0000 (23:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Dec 2014 23:05:52 +0000 (00:05 +0100)
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>
package/gcc/gcc-final/gcc-final.mk

index 46ef5c6bc045527d14052ad5dff90a13ee95f760..958b4452d76ad4037eb49b57b301e0bb3a25a487 100644 (file)
@@ -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