aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-07-09 16:00:06 -0300
committerJames Almer <jamrial@gmail.com>2016-07-09 17:38:48 -0300
commitf9a150fc31c5336a8d51bc51a921d1f9885d5876 (patch)
tree7100c27ed0267a52a931a225a39da146d915c670
parentce36e74e75751c721185fbebaa4ee8714b44c5a5 (diff)
downloadffmpeg-f9a150fc31c5336a8d51bc51a921d1f9885d5876.tar.gz
Revert "configure: Enable GCC vectorization on ≥4.9 on x86"
This reverts commit cb8646af24bd8e9627cc5e1c62b049a00fe0b07b. 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. (cherry picked from commit fd6dbc53855fbfc9a782095d0ffe11dd3a98905f)
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 3760641385..adb4c27e0f 100755
--- a/configure
+++ b/configure
@@ -6125,11 +6125,7 @@ elif enabled ccc; then
add_cflags -msg_disable nonstandcast
add_cflags -msg_disable unsupieee
elif enabled gcc; then
- case $gcc_basever in
- 4.9*) enabled x86 || check_optflags -fno-tree-vectorize ;;
- 4.*) check_optflags -fno-tree-vectorize ;;
- *) enabled x86 || check_optflags -fno-tree-vectorize ;;
- esac
+ check_optflags -fno-tree-vectorize
check_cflags -Werror=format-security
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes