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-07-27 09:00:53 +0100
commit64b9c83b0c3b70d5e51cd96ab58b899d974c2d89 (patch)
treefb23b59ac40e9faa999bd9446fc36701686e31fb
parent96456b15ea47be510f04d246c0256f3c757e70ff (diff)
downloadpoky-64b9c83b0c3b70d5e51cd96ab58b899d974c2d89.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 master rev: 85630aa894278e7818c867179dc19ca2fbd994fc) (From OE-Core rev: f28840de3912c805acde8d11188f0c48617678ab) 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> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 d62c15afd8..9cc0c3f13e 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
4EXTRA_OECONF_PATHS = "\ 4EXTRA_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