diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 46d7317d4f..1d0d45c2e0 100644 --- a/configure.in +++ b/configure.in @@ -477,8 +477,9 @@ AC_CACHE_CHECK(for ld --no-whole-archive, libc_cv_ld_no_whole_archive, [dnl cat > conftest.c <<\EOF _start () {} EOF -if AC_TRY_COMMAND([${CC-cc} $CFLAGS \ - -nostdlib -nostartfiles -Wl,--no-whole-archive \ +dnl No \ in command here because it ends up inside ''. +if AC_TRY_COMMAND([${CC-cc} $CFLAGS + -nostdlib -nostartfiles -Wl,--no-whole-archive -o conftest conftest.c]); then libc_cv_ld_no_whole_archive=yes else |