From af5f2e6fa9c0a83cce72b37a68147e39355e898d Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 22 Oct 2012 12:45:41 +0200 Subject: [PATCH] gcc: improved to build with --enable-linker-build-id by default to pass --build-id option to the linker for all final links --- base/gcc/gcc.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/gcc/gcc.conf b/base/gcc/gcc.conf index 0f7f6b83e..853729e6b 100644 --- a/base/gcc/gcc.conf +++ b/base/gcc/gcc.conf @@ -122,6 +122,9 @@ languages="c,c++" var_append confopt ' ' "--enable-c99" var_append confopt ' ' "--enable-long-long" +# pass --build-id option to the linker for all final links +var_append confopt ' ' "--enable-linker-build-id" + # special features when glibc is the primary libc for the target if [ "$SDECFG_LIBC" = 'glibc' ]; then # use the gnu_unique_object relocation for C++ template static data