]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF
authorKhem Raj <raj.khem@gmail.com>
Sun, 5 May 2013 06:24:53 +0000 (23:24 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 May 2013 14:40:53 +0000 (15:40 +0100)
Fixes errors seen while compiling gcc 4.8 for target, errors like

| /home/khem/work/angstrom/build/tmp-angstrom_next-eglibc/work-shared/gcc-4.8.0-r0/gcc-4.8.0/libatomic/cas_n.c:125:1: fatal error: opening dependency file .deps/cas_1_.lo.Ppo: No such file or directory

which are due to disabled dependency tracking but dependency files being still generated
while compiling libatomics.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/gcc/gcc-configure-target.inc

index 6cc374b76dfd981d58129994b26b45798634a943..5f608d6bdfc06c7aa15511cd00264b2081ccb8a2 100644 (file)
@@ -5,4 +5,4 @@ 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++/"
+    --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking"