diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-05-04 23:24:53 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-08 15:41:14 +0100 |
commit | 1e7b9ef7e2b46b23572e96194fd1deaec5bebb26 (patch) | |
tree | 5c482947b3f20c34dd369d78ae3baa889e3a2bc6 | |
parent | 26923a4d6d3d0fe1b42bcf2e8c234baaba075a2f (diff) | |
download | poky-1e7b9ef7e2b46b23572e96194fd1deaec5bebb26.tar.gz |
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.
(From OE-Core rev: c83cbc80af078d7be5deec44bba6e0ca29a5ee1a)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | 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 6cc374b76d..5f608d6bdf 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 = " \ | |||
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} \ | 7 | --with-native-system-header-dir=${STAGING_DIR_TARGET}${target_includedir} \ |
8 | --with-gxx-include-dir=${includedir}/c++/" | 8 | --with-gxx-include-dir=${includedir}/c++/ --enable-dependency-tracking" |