mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Remove -static-libgcc configure test.
There is a configure test for -static-libgcc. GCC added this option in version 3.0, so this test is obsolete; this patch removes it. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test. * configure: Regenerated. * config.make.in (static-libgcc): Remove variable. * Makerules (build-shlib-helper): Use -static-libgcc instead of $(static-libgcc). (build-module-helper): Likewise.
This commit is contained in:
16
configure
vendored
16
configure
vendored
@ -641,7 +641,6 @@ BISON
|
||||
INSTALL_INFO
|
||||
PERL
|
||||
BASH_SHELL
|
||||
libc_cv_gcc_static_libgcc
|
||||
CXX_SYSINCLUDES
|
||||
SYSINCLUDES
|
||||
AUTOCONF
|
||||
@ -5316,21 +5315,6 @@ as_fn_error $? "
|
||||
*** and run configure again." "$LINENO" 5
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GCC supports -static-libgcc" >&5
|
||||
$as_echo_n "checking whether GCC supports -static-libgcc... " >&6; }
|
||||
if ${libc_cv_gcc_static_libgcc+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if $CC -v -static-libgcc 2>&1 | grep 'unrecognized option.*static-libgcc' >/dev/null; then
|
||||
libc_cv_gcc_static_libgcc=
|
||||
else
|
||||
libc_cv_gcc_static_libgcc=-static-libgcc
|
||||
fi
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc_static_libgcc" >&5
|
||||
$as_echo "$libc_cv_gcc_static_libgcc" >&6; }
|
||||
|
||||
|
||||
# Extract the first word of "bash", so it can be a program name with args.
|
||||
set dummy bash; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
|
Reference in New Issue
Block a user