summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-04-25 17:02:33 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-04-25 17:02:33 +0000
commita3cc4f48e94f32c9532ee36982ac00eb1e5719b0 (patch)
tree872a98e0d9f8dab827dc11b1ac61c8be4b5a879f /configure.in
parentceab42c380901dee40dc8b1fda0453b8ca918cc8 (diff)
Remove --as-needed configure test.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 0 insertions, 17 deletions
diff --git a/configure.in b/configure.in
index 442f8eb503..42d521f708 100644
--- a/configure.in
+++ b/configure.in
@@ -1519,23 +1519,6 @@ fi
rm -f conftest*])
AC_SUBST(libc_cv_Bgroup)
-AC_CACHE_CHECK(for --as-needed option,
- libc_cv_as_needed, [dnl
-cat > conftest.c <<EOF
-int main (void) { return 0; }
-EOF
-if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
- -fPIC -shared -o conftest.so conftest.c
- -lgcc_s -Wl,--as-needed
- -nostdlib 1>&AS_MESSAGE_LOG_FD])
-then
- libc_cv_as_needed=yes
-else
- libc_cv_as_needed=no
-fi
-rm -f conftest*])
-AC_SUBST(libc_cv_as_needed)
-
ASFLAGS_config=
AC_CACHE_CHECK(whether --noexecstack is desirable for .S files,
libc_cv_as_noexecstack, [dnl