]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: Add --enable-linker-build-id
authorColin Walters <walters@verbum.org>
Wed, 21 Nov 2012 18:00:30 +0000 (13:00 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Nov 2012 15:12:05 +0000 (15:12 +0000)
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@verbum.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.7.inc

index c0e3680a631886bc88caa50a1c79b8cbebf56c49..2cfbf99d563c5d57430d1b1132fb6cdcc4f7903e 100644 (file)
@@ -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 \