mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Don't handle libgcc_s suffixes.
This commit is contained in:
21
configure
vendored
21
configure
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user