]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: make sure header path is set correctly
authorAnuj Mittal <anujx.mittal@intel.com>
Thu, 30 Jun 2016 02:57:12 +0000 (10:57 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Jul 2016 16:25:21 +0000 (17:25 +0100)
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>
(cherry picked from commit 85630aa894278e7818c867179dc19ca2fbd994fc)
Signed-off-by: Anuj Mittal <anujx.mittal@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-target.inc

index b8dabe57459704f298edffc1280d2d98fb7b5cc6..de99a0d0c8063113022d174138d3bda493ce1c7e 100644 (file)
@@ -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} \
 "