aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-24 10:22:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-04-24 10:22:45 +0000
commit3a533ca370725b68b516e6b74adf4727d17ed28a (patch)
tree688722e99107fd8cf1a6588b2131650ecacdd3ac /configure.in
parente9a0a51253e49f1b9affec949775da94e7de297f (diff)
downloadglibc-3a533ca370725b68b516e6b74adf4727d17ed28a.tar
glibc-3a533ca370725b68b516e6b74adf4727d17ed28a.tar.gz
glibc-3a533ca370725b68b516e6b74adf4727d17ed28a.tar.bz2
glibc-3a533ca370725b68b516e6b74adf4727d17ed28a.zip
Don't handle libgcc_s suffixes.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in16
1 files changed, 1 insertions, 15 deletions
diff --git a/configure.in b/configure.in
index d8c55b102e..442f8eb503 100644
--- a/configure.in
+++ b/configure.in
@@ -1519,20 +1519,6 @@ fi
rm -f conftest*])
AC_SUBST(libc_cv_Bgroup)
-AC_CACHE_CHECK(for libgcc_s suffix,
- libc_cv_libgcc_s_suffix, [dnl
-cat > conftest.c <<EOF
-int main (void) { return 0; }
-EOF
-changequote(,)dnl
-libc_cv_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
- -fPIC -shared -shared-libgcc -o conftest.so \
- conftest.c -v 2>&1 >/dev/null \
- | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
-changequote([,])dnl
-rm -f conftest*])
-AC_SUBST(libc_cv_libgcc_s_suffix)
-
AC_CACHE_CHECK(for --as-needed option,
libc_cv_as_needed, [dnl
cat > conftest.c <<EOF
@@ -1540,7 +1526,7 @@ int main (void) { return 0; }
EOF
if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
-fPIC -shared -o conftest.so conftest.c
- -lgcc_s$libc_cv_libgcc_s_suffix -Wl,--as-needed
+ -lgcc_s -Wl,--as-needed
-nostdlib 1>&AS_MESSAGE_LOG_FD])
then
libc_cv_as_needed=yes