Merge commit 'bf38959a30ecba4e4ee95d4f2a80ba7ece4f34be'
* commit 'bf38959a30ecba4e4ee95d4f2a80ba7ece4f34be': configure: Move optflags checks to a more sensible place Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
f78f3df7e0
7
configure
vendored
7
configure
vendored
@ -6265,6 +6265,9 @@ check_optflags(){
|
|||||||
enabled lto && check_ldflags "$@"
|
enabled lto && check_ldflags "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_optflags $optflags
|
||||||
|
check_optflags -fno-math-errno
|
||||||
|
check_optflags -fno-signed-zeros
|
||||||
|
|
||||||
if enabled lto; then
|
if enabled lto; then
|
||||||
test "$cc_type" != "$ld_type" && die "LTO requires same compiler and linker"
|
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
|
disable inline_asm_direct_symbol_refs
|
||||||
fi
|
fi
|
||||||
|
|
||||||
check_optflags $optflags
|
|
||||||
check_optflags -fno-math-errno
|
|
||||||
check_optflags -fno-signed-zeros
|
|
||||||
|
|
||||||
enabled ftrapv && check_cflags -ftrapv
|
enabled ftrapv && check_cflags -ftrapv
|
||||||
|
|
||||||
check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone"
|
check_cc -mno-red-zone <<EOF && noredzone_flags="-mno-red-zone"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user