Browse Source

gcc: improved to explicitely build --with-linker-hash-style=gnu when glibc is the primary libc

user/karasz/firmware
Christian Wiese 13 years ago
parent
commit
508c6d8f41
  1. 3
      base/gcc/gcc.conf

3
base/gcc/gcc.conf

@ -130,6 +130,9 @@ if [ "$SDECFG_LIBC" = 'glibc' ]; then
# use the gnu_unique_object relocation for C++ template static data # use the gnu_unique_object relocation for C++ template static data
# members and inline function local statics # members and inline function local statics
var_append confopt ' ' "--enable-gnu-unique-object" 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 fi

Loading…
Cancel
Save