[oe-commits] Khem Raj : gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF

git at git.openembedded.org git at git.openembedded.org
Wed May 8 14:36:44 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: c83cbc80af078d7be5deec44bba6e0ca29a5ee1a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c83cbc80af078d7be5deec44bba6e0ca29a5ee1a

Author: Khem Raj <raj.khem at gmail.com>
Date:   Sat May  4 23:24:53 2013 -0700

gcc-configure-target: Add --enable-dependency-tracking to EXTRA_OECONF

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 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/gcc/gcc-configure-target.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-configure-target.inc b/meta/recipes-devtools/gcc/gcc-configure-target.inc
index 6cc374b..5f608d6 100644
--- a/meta/recipes-devtools/gcc/gcc-configure-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-configure-target.inc
@@ -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"





More information about the Openembedded-commits mailing list