diff options
author | Colin Walters <walters@verbum.org> | 2012-11-21 13:00:30 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-24 15:12:29 +0000 |
commit | d3dbfd6fe0affa403784a66aaef77950c59b2a4a (patch) | |
tree | 922c39c59ee7b4ab98b39ccc7388ab97f91d1398 /meta | |
parent | 7a7f9489d32447e717b82d5b21488a3f09ef6581 (diff) | |
download | poky-d3dbfd6fe0affa403784a66aaef77950c59b2a4a.tar.gz |
gcc: Add --enable-linker-build-id
See https://fedoraproject.org/wiki/Releases/FeatureBuildId for the
benefits this brings. As far as I can tell from searching the
discussion archives, there doesn't appear to be a reason not to enable
this, and the benefits are real.
Both the Red Hat Enterprise Linux 6, all Fedora, and Ubuntu Quantal
GCC builds are configured with this on. I plan to use it in
gnome-ostree.
(From OE-Core rev: f3be2b1e5e100a953d6d7fbbb19a77a5c4d547e1)
Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc index c0e3680a63..2cfbf99d56 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7.inc +++ b/meta/recipes-devtools/gcc/gcc-4.7.inc | |||
@@ -92,6 +92,7 @@ EXTRA_OECONF_BASE = " --enable-lto \ | |||
92 | --disable-libmudflap \ | 92 | --disable-libmudflap \ |
93 | --with-system-zlib \ | 93 | --with-system-zlib \ |
94 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ | 94 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ |
95 | --enable-linker-build-id \ | ||
95 | --with-ppl=no \ | 96 | --with-ppl=no \ |
96 | --with-cloog=no \ | 97 | --with-cloog=no \ |
97 | --enable-checking=release \ | 98 | --enable-checking=release \ |