Browse Source

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

user/karasz/firmware
Christian Wiese 12 years ago
parent
commit
508c6d8f41
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      base/gcc/gcc.conf

+ 3
- 0
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

Loading…
Cancel
Save