aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuanjie Huang <yuanjie.huang@windriver.com>2016-10-20 19:47:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-28 11:27:33 +0100
commit581a746f081a265e08b41712e7bc953f46c6e92a (patch)
tree8125949c7410c5bdf303ce1ee2f826526c85d86d
parent1e34548f5b022ed285d945e09cfc5774a6122ab9 (diff)
downloadopenembedded-core-contrib-581a746f081a265e08b41712e7bc953f46c6e92a.tar.gz
openembedded-core-contrib-581a746f081a265e08b41712e7bc953f46c6e92a.tar.bz2
openembedded-core-contrib-581a746f081a265e08b41712e7bc953f46c6e92a.zip
binutils: enable warn system direcotories in cross-canadian ld
Warn system directories requires a configuration option to be enabled. This patch enables the warning for cross-canadian ld, to align with the cross version. Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/binutils/binutils-cross-canadian.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
index ae146422722..b3d591e6581 100644
--- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc
@@ -6,6 +6,7 @@ BPN = "binutils"
DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/nativesdk-libc nativesdk-zlib nativesdk-gettext nativesdk-flex"
EXTRA_OECONF += "--with-sysroot=${SDKPATH}/sysroots/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS} \
+ --enable-poison-system-directories \
"
# We have to point binutils at a sysroot but we don't need to rebuild if this changes