1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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:
Clément Bœsch 2017-05-19 11:54:30 +02:00
commit f78f3df7e0

7
configure vendored
View File

@ -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"