diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 10:48:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 12:19:43 +0100 |
commit | 87e86d4fd3a22627bf5a7eff20d8551cb1e67452 (patch) | |
tree | b3196af46823c42605b946e177e7a4f86fd8b729 /meta/recipes-devtools/gcc/gcc-target.inc | |
parent | c2d5fa92898942d5cd1ccf9622a522243a5ca006 (diff) | |
download | poky-87e86d4fd3a22627bf5a7eff20d8551cb1e67452.tar.gz |
gcc-target: Fix libatomic dependency tracking issues
The --enable-dependency-tracking option was added to workaround build
issues in libatomic. This fixes that build problem properly and removes
the flag since the dependency tracking code appears to be full of races
which are much deeper and harder to fix.
As per the automake manual, dependency tracking is only useful and worth
the build performance cost if you are doing more than one compile of the same
source code which in most cases we are not so this is a good thing anyway.
(From OE-Core rev: a3b665a80abed4c0659925e1cceb1568af023711)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-target.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-target.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-target.inc b/meta/recipes-devtools/gcc/gcc-target.inc index c7e3e164d8..e1179ac292 100644 --- a/meta/recipes-devtools/gcc/gcc-target.inc +++ b/meta/recipes-devtools/gcc/gcc-target.inc | |||
@@ -5,7 +5,7 @@ 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++/ --enable-dependency-tracking" | 8 | --with-gxx-include-dir=${includedir}/c++/" |
9 | 9 | ||
10 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ " | 10 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR} -I${B}/gcc/include/ " |
11 | 11 | ||