summaryrefslogtreecommitdiffstats
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 16:15:20 +0100
commitf248db1972e165e007ce6377a7b1ddff336fbcbb (patch)
tree9ad60dff2e0241633725aca9b6e695e45aed91de
parentffbe37d5eb79e0aab7d0e90afc0bb94d347a9735 (diff)
downloadopenembedded-core-contrib-f248db1972e165e007ce6377a7b1ddff336fbcbb.tar.gz
openembedded-core-contrib-f248db1972e165e007ce6377a7b1ddff336fbcbb.tar.bz2
openembedded-core-contrib-f248db1972e165e007ce6377a7b1ddff336fbcbb.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. (From OE-Core rev: 581a746f081a265e08b41712e7bc953f46c6e92a) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 ae14642272..b3d591e658 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