]> git.sesse.net Git - mlt/blobdiff - configure
Notify dropped frame in decklink.
[mlt] / configure
index 91c4ef5f7533c7b78d93c69d818bab9e9d7a0958..c980af3fad4b9fae4faefacb42962d2a9672a52e 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-export version=0.7.3
+export version=0.7.5
 export soversion=4
 
 show_help()
@@ -70,8 +70,14 @@ build_config()
 
                [ "$arch" != "" ] && echo "TARGETARCH=-march=$arch"
                [ "$cpu" != "" ] && echo "TARGETCPU=-mcpu=$cpu"
-               [ "$optimisations" = "true" ] &&
-                       echo "OPTIMISATIONS=-O2 -pipe -fomit-frame-pointer"
+               if [ "$optimisations" = "true" ]
+               then
+                       echo "OPTIMISATIONS=-O2 -pipe"
+                       # Since gcc 4.6, this optimization enabled with -O1 causes filter_line_sse2 to crash.
+                       echo "OPTIMISATIONS+=-fno-tree-dominator-opts"
+                       # Since gcc 4.6, this optimization enabled with -O2 causes filter_line_sse2 to crash.
+                       echo "OPTIMISATIONS+=-fno-tree-pre"
+               fi
 
                echo "CFLAGS+=-Wall -DPIC \$(TARGETARCH) \$(TARGETCPU) \$(OPTIMISATIONS) \$(MMX_FLAGS) \$(SSE_FLAGS) \$(SSE2_FLAGS) \$(DEBUG_FLAGS) \$(LARGE_FILE)"