[oe-commits] Colin Walters : gcc: Add --enable-linker-build-id

git at git.openembedded.org git at git.openembedded.org
Thu Nov 22 09:01:34 UTC 2012


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

Author: Colin Walters <walters at verbum.org>
Date:   Wed Nov 21 13:00:30 2012 -0500

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.

Signed-off-by: Colin Walters <walters at verbum.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 c0e3680..2cfbf99 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 \
 			--disable-libmudflap \
 			--with-system-zlib \
 			--with-linker-hash-style=${LINKER_HASH_STYLE} \
+			--enable-linker-build-id \
 			--with-ppl=no \
 			--with-cloog=no \
 			--enable-checking=release \





More information about the Openembedded-commits mailing list