diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1541,10 +1541,11 @@ if eval "test \"`echo '$''{'libc_cv_ld_no_whole_archive'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.c <<\EOF -main () { exit (0); } +_start () {} EOF -if ${CC-cc} $CFLAGS -Wl,--no-whole-archive \ - -o conftest conftest.c 2>/dev/null; then +if { ac_try='${CC-cc} $CFLAGS \ + -nostdlib -nostartfiles -Wl,--no-whole-archive \ + -o conftest conftest.c'; { (eval echo configure:1549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then libc_cv_ld_no_whole_archive=yes else libc_cv_ld_no_whole_archive=no |