diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/configure b/configure index 3d54d72dac..9cfccb2f9f 100755 --- a/configure +++ b/configure @@ -651,7 +651,6 @@ libc_cv_z_execstack libc_cv_z_combreloc ASFLAGS_config libc_cv_as_needed -libc_cv_libgcc_s_suffix libc_cv_Bgroup libc_cv_cc_with_libunwind VERSIONING @@ -6305,24 +6304,6 @@ fi $as_echo "$libc_cv_Bgroup" >&6; } -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcc_s suffix" >&5 -$as_echo_n "checking for libgcc_s suffix... " >&6; } -if ${libc_cv_libgcc_s_suffix+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat > conftest.c <<EOF -int main (void) { return 0; } -EOF -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'` -rm -f conftest* -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_libgcc_s_suffix" >&5 -$as_echo "$libc_cv_libgcc_s_suffix" >&6; } - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --as-needed option" >&5 $as_echo_n "checking for --as-needed option... " >&6; } if ${libc_cv_as_needed+:} false; then : @@ -6333,7 +6314,7 @@ int main (void) { return 0; } EOF if { ac_try='${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>&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 |