From: Anuj Mittal Date: Tue, 14 Jun 2016 09:10:20 +0000 (+0800) Subject: gcc: make sure header path is set correctly X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25347 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85630aa894278e7818c867179dc19ca2fbd994fc;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index a960ed49a94..37c5c62aef3 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} \ "