aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-15 19:02:07 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-15 19:02:07 +0000
commit973859f5230e77beea7bb59dc081870689d6d191 (patch)
tree6c9c82d3171258c198a4e3ed99f747f08a959810 /configure
parent89e053f83db596c9263fd9d8cae6f4e15a9b4d49 (diff)
downloadffmpeg-973859f5230e77beea7bb59dc081870689d6d191.tar.gz
Disable gcc auto-vectorisation
The auto-vectoriser in gcc is enabled by default at -O3 since version 4.3. However, it provides no speed benefit, but does produce incorrect code on many targets. Disabling it for gcc should give more reliable builds. If the adventurous want it back, they can edit the makefile themselves. Originally committed as revision 19439 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d7acfdb2db..0a8be7f7bb 100755
--- a/configure
+++ b/configure
@@ -2335,6 +2335,8 @@ elif enabled ccc; then
add_cflags -msg_disable nomainieee
add_cflags -msg_disable ptrmismatch1
add_cflags -msg_disable unreachcode
+elif enabled gcc; then
+ check_cflags -fno-tree-vectorize
fi
# PIC flags for shared library objects where they are needed