Commit f78f3df7 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'bf38959a'

* commit 'bf38959a':
  configure: Move optflags checks to a more sensible place
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 89d277af bf38959a
......@@ -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 <<EOF && noredzone_flags="-mno-red-zone"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment