diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-04-29 16:37:51 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-04-29 16:37:51 +0200 |
commit | e47de5cb2d4dbecb58f569ed241e8e95c568f03c (patch) | |
tree | 0024e33042a32c5a2c19b6e239e562d19016e1d4 /configure.ac | |
parent | 5b5b1012d579bfb38e11cea3767bec06554c0063 (diff) | |
download | glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.gz glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.tar.xz glibc-e47de5cb2d4dbecb58f569ed241e8e95c568f03c.zip |
Do not use --hash-style=both for building glibc shared objects
The comment indicates that --hash-style=both was used to maintain compatibility with static dlopen, but we had many internal ABI changes since then, so this compatiblity does not add value anymore. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac index a045f6608e..d08ad4d64e 100644 --- a/configure.ac +++ b/configure.ac @@ -1360,22 +1360,6 @@ LIBC_TRY_CC_OPTION([-fpie], [libc_cv_fpie=yes], [libc_cv_fpie=no]) AC_SUBST(libc_cv_fpie) -AC_CACHE_CHECK(for --hash-style option, - libc_cv_hashstyle, [dnl -cat > conftest.c <<EOF -int _start (void) { return 42; } -EOF -if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS $no_ssp - -fPIC -shared -o conftest.so conftest.c - -Wl,--hash-style=both -nostdlib 1>&AS_MESSAGE_LOG_FD]) -then - libc_cv_hashstyle=yes -else - libc_cv_hashstyle=no -fi -rm -f conftest*]) -AC_SUBST(libc_cv_hashstyle) - AC_CACHE_CHECK(for GLOB_DAT reloc, libc_cv_has_glob_dat, [dnl cat > conftest.c <<EOF |