From: Ulrich Drepper Date: Fri, 11 Apr 2008 17:53:44 +0000 (+0000) Subject: * configure.in: Check for -fno-section-anchors in addition to X-Git-Tag: cvs/fedora-glibc-20080411T1934~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22dca1ea77613162d597c7cb0729873619eaf5e0;p=thirdparty%2Fglibc.git * configure.in: Check for -fno-section-anchors in addition to -fno-toplevel-reorder. --- diff --git a/ChangeLog b/ChangeLog index 1ee4e66a178..dc385f2d8d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-04-11 Jakub Jelinek + + * configure.in: Check for -fno-section-anchors in addition to + -fno-toplevel-reorder. + 2008-04-11 Ulrich Drepper * include/features.h (__GLIBC_MINOR__): Bump to 8. diff --git a/configure b/configure index 4b969787e3d..3330d53dc37 100755 --- a/configure +++ b/configure @@ -5067,7 +5067,7 @@ echo "$as_me: WARNING: if test -n "$sysheaders"; then SYSINCLUDES=-nostdinc for d in include include-fixed; do - i=`$CC -print-file-name="$d"` && test "x$i" != "x$d" && + i=`$CC -print-file-name="$d"` && test "x$i" != x && test "x$i" != "x$d" && SYSINCLUDES="$SYSINCLUDES -isystem $i" done SYSINCLUDES="$SYSINCLUDES \ @@ -6411,15 +6411,15 @@ echo "${ECHO_T}$libc_cv_hashstyle" >&6; } fi -{ echo "$as_me:$LINENO: checking for -fno-toplevel-reorder" >&5 -echo $ECHO_N "checking for -fno-toplevel-reorder... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: checking for -fno-toplevel-reorder -fno-section-anchors" >&5 +echo $ECHO_N "checking for -fno-toplevel-reorder -fno-section-anchors... $ECHO_C" >&6; } if test "${libc_cv_fno_toplevel_reorder+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat > conftest.c <&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 @@ -6436,7 +6436,7 @@ fi { echo "$as_me:$LINENO: result: $libc_cv_fno_toplevel_reorder" >&5 echo "${ECHO_T}$libc_cv_fno_toplevel_reorder" >&6; } 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 diff --git a/configure.in b/configure.in index 3098ebfd3d7..e6a5abb54cf 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 <&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