diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-04-11 17:53:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-04-11 17:53:44 +0000 |
commit | 22dca1ea77613162d597c7cb0729873619eaf5e0 (patch) | |
tree | 67ae6ecdc5d865d7b3153248723c9a57128dd0ae /configure.in | |
parent | 5d59f4a50f07f2fa1d2556f1b2069431be5ab3d6 (diff) | |
download | glibc-22dca1ea77613162d597c7cb0729873619eaf5e0.zip glibc-22dca1ea77613162d597c7cb0729873619eaf5e0.tar.gz glibc-22dca1ea77613162d597c7cb0729873619eaf5e0.tar.bz2 |
* configure.in: Check for -fno-section-anchors in addition to
-fno-toplevel-reorder.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 3098ebf..e6a5abb 100644 --- a/configure.in +++ b/configure.in @@ -1614,11 +1614,11 @@ EOF AC_SUBST(libc_cv_hashstyle) fi -AC_CACHE_CHECK(for -fno-toplevel-reorder, libc_cv_fno_toplevel_reorder, [dnl +AC_CACHE_CHECK(for -fno-toplevel-reorder -fno-section-anchors, libc_cv_fno_toplevel_reorder, [dnl cat > conftest.c <<EOF int foo; EOF -if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -S -fno-toplevel-reorder -fno-section-anchors conftest.c 1>&AS_MESSAGE_LOG_FD]) then libc_cv_fno_toplevel_reorder=yes @@ -1627,7 +1627,7 @@ else fi rm -f conftest*]) if test $libc_cv_fno_toplevel_reorder = yes; then - fno_unit_at_a_time=-fno-toplevel-reorder + fno_unit_at_a_time="-fno-toplevel-reorder -fno-section-anchors" else fno_unit_at_a_time=-fno-unit-at-a-time fi |