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