diff --git a/configure b/configure index 250e067df4..33eb628f16 100755 --- a/configure +++ b/configure @@ -6265,6 +6265,9 @@ check_optflags(){ enabled lto && check_ldflags "$@" } +check_optflags $optflags +check_optflags -fno-math-errno +check_optflags -fno-signed-zeros if enabled lto; then test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker" @@ -6273,10 +6276,6 @@ if enabled lto; then disable inline_asm_direct_symbol_refs fi -check_optflags $optflags -check_optflags -fno-math-errno -check_optflags -fno-signed-zeros - enabled ftrapv && check_cflags -ftrapv check_cc -mno-red-zone <