diff options
author | Anuj Mittal <anujx.mittal@intel.com> | 2016-06-14 17:10:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-15 18:05:22 +0100 |
commit | ce6e49a01f1c1dc7e961534d0c43b4e2372ed9b0 (patch) | |
tree | e6abf9419f9a7abab4169bd4d71dcdfa7ef903ce | |
parent | 66aebcc5d59a4eeb3b8229106d02312033b88bef (diff) | |
download | poky-ce6e49a01f1c1dc7e961534d0c43b4e2372ed9b0.tar.gz |
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.
(From OE-Core rev: 85630aa894278e7818c867179dc19ca2fbd994fc)
Signed-off-by: Anuj Mittal <anujx.mittal@intel.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/gcc/gcc-target.inc | 1 |
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 | |||
4 | EXTRA_OECONF_PATHS = "\ | 4 | EXTRA_OECONF_PATHS = "\ |
5 | --with-sysroot=/ \ | 5 | --with-sysroot=/ \ |
6 | --with-build-sysroot=${STAGING_DIR_TARGET} \ | 6 | --with-build-sysroot=${STAGING_DIR_TARGET} \ |
7 | --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \ | ||
8 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ | 7 | --with-gxx-include-dir=${includedir}/c++/${BINV} \ |
9 | " | 8 | " |
10 | 9 | ||