From 508c6d8f41ea29c1ee74ff7a21d38e558084358a Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 22 Oct 2012 13:23:50 +0200 Subject: [PATCH] gcc: improved to explicitely build --with-linker-hash-style=gnu when glibc is the primary libc --- base/gcc/gcc.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/gcc/gcc.conf b/base/gcc/gcc.conf index 853729e6b..218b2cf4b 100644 --- a/base/gcc/gcc.conf +++ b/base/gcc/gcc.conf @@ -130,6 +130,9 @@ if [ "$SDECFG_LIBC" = 'glibc' ]; then # use the gnu_unique_object relocation for C++ template static data # members and inline function local statics var_append confopt ' ' "--enable-gnu-unique-object" + + # pass --hash-style=gnu option to the linker for all final links + var_append confopt ' ' "--with-linker-hash-style=gnu" fi