mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Revert "configure: Enable GCC vectorization on ≥4.9 on x86"
This reverts commit cb8646af24.
This change has brough more issues than benefits, between compilation
time failures depending on flags used and code miscompilation causing
runtime crashes.
See the "[PATCH 2/2] configure: Enable GCC vectorization on ≥4.9"
thread in the ffmpeg-devel mailing list for the relevant discussion.
This commit is contained in:
parent
3cdd5f4b7c
commit
fd6dbc5385
1 changed files with 1 additions and 5 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -6139,11 +6139,7 @@ elif enabled ccc; then
|
||||||
add_cflags -msg_disable nonstandcast
|
add_cflags -msg_disable nonstandcast
|
||||||
add_cflags -msg_disable unsupieee
|
add_cflags -msg_disable unsupieee
|
||||||
elif enabled gcc; then
|
elif enabled gcc; then
|
||||||
case $gcc_basever in
|
check_optflags -fno-tree-vectorize
|
||||||
4.9*) enabled x86 || check_optflags -fno-tree-vectorize ;;
|
|
||||||
4.*) check_optflags -fno-tree-vectorize ;;
|
|
||||||
*) enabled x86 || check_optflags -fno-tree-vectorize ;;
|
|
||||||
esac
|
|
||||||
check_cflags -Werror=format-security
|
check_cflags -Werror=format-security
|
||||||
check_cflags -Werror=implicit-function-declaration
|
check_cflags -Werror=implicit-function-declaration
|
||||||
check_cflags -Werror=missing-prototypes
|
check_cflags -Werror=missing-prototypes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue