summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
1 files changed, 3 insertions, 4 deletions
diff --git a/configure b/configure
index 53dd809b86..e79c6225fb 100755
--- a/configure
+++ b/configure
@@ -4926,6 +4926,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"
@@ -4933,10 +4936,6 @@ if enabled lto; then
check_ldflags -flto $cpuflags
fi
-check_optflags $optflags
-check_optflags -fno-math-errno
-check_optflags -fno-signed-zeros
-
if enabled icc; then
# Just warnings, no remarks
check_cflags -w1