summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnuj Mittal <anujx.mittal@intel.com>2016-06-14 17:10:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 17:36:36 +0100
commit85630aa894278e7818c867179dc19ca2fbd994fc (patch)
treec1d4f65939f6f8c764cb067878437085057d8e7c
parentc5da9c7a3c6418386e1f923008e1cd5fbee01fdd (diff)
downloadopenembedded-core-contrib-85630aa894278e7818c867179dc19ca2fbd994fc.tar.gz
openembedded-core-contrib-85630aa894278e7818c867179dc19ca2fbd994fc.tar.bz2
openembedded-core-contrib-85630aa894278e7818c867179dc19ca2fbd994fc.zip
gcc: make sure header path is set correctly
We're setting the native header paths in do_configure_prepend, and don't need to set them again here. This results in gcc-target not being able to locate the headers and not being able to detect glibc version, which in turn results in SSP support not getting detected even though it's available in libc. Signed-off-by: Anuj Mittal <anujx.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/gcc/gcc-target.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc
index a960ed49a9..37c5c62aef 100644
--- a/meta/recipes-devtools/gcc/gcc-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-target.inc
@@ -4,7 +4,6 @@ require gcc-configure-common.inc
EXTRA_OECONF_PATHS = "\
--with-sysroot=/ \
--with-build-sysroot=${STAGING_DIR_TARGET} \
- --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \
--with-gxx-include-dir=${includedir}/c++/${BINV} \
"