Merge pull request #2748 from antonlacon/hashstyle

build: only use gnu-style hash table in binaries
This commit is contained in:
MilhouseVH 2018-06-14 01:41:49 +01:00 committed by GitHub
commit 700b54c13a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
GCC_OPTIM="-Os"
# Linker hash-style is set to gnu via gcc default
LD_OPTIM="-Wl,--as-needed"
if [ "${BUILD_WITH_DEBUG}" = "yes" ]; then

View File

@ -41,6 +41,7 @@ GCC_COMMON_CONFIGURE_OPTS="--target=$TARGET_NAME \
--enable-lto \
--enable-gold \
--enable-ld=default \
--with-linker-hash-style=gnu \
--disable-multilib \
--disable-nls \
--enable-checking=release \