diff options
author | konablend <[email protected]> | 2011-10-19 21:13:02 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2011-10-19 21:13:02 +0000 |
commit | db60d24b52a6f6579001605f8b5708981ee3bdde (patch) | |
tree | e23bb2eda9baf6148b3f52c6507221258a3e9fa8 /contrib | |
parent | 4570769bdde73f0451f331da1e48ba80c437c399 (diff) |
limit optimization level to -O3 as llvm's gcc/clang codebase borks on -O4 and higher
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4299 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libogg/P00-darwin-O4.patch | 14 | ||||
-rw-r--r-- | contrib/libvorbis/P00-darwin-O4.patch | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/contrib/libogg/P00-darwin-O4.patch b/contrib/libogg/P00-darwin-O4.patch new file mode 100644 index 000000000..d26b74596 --- /dev/null +++ b/contrib/libogg/P00-darwin-O4.patch @@ -0,0 +1,14 @@ +diff -ur libogg.orig/configure libogg/configure +--- libogg.orig/configure 2005-11-27 23:26:32.000000000 -0500 ++++ libogg/configure 2011-08-19 23:16:01.000000000 -0400 +@@ -19106,8 +19106,8 @@ + ;; + *-*-darwin*) + DEBUG="-fno-common -g -Wall -fsigned-char" +- CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math" +- PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math" ++ CFLAGS="-fno-common -O3 -Wall -fsigned-char -ffast-math" ++ PROFILE="-fno-common -O3 -Wall -pg -g -fsigned-char -ffast-math" + ;; + *) + DEBUG="-g -Wall -fsigned-char" diff --git a/contrib/libvorbis/P00-darwin-O4.patch b/contrib/libvorbis/P00-darwin-O4.patch new file mode 100644 index 000000000..c213556d9 --- /dev/null +++ b/contrib/libvorbis/P00-darwin-O4.patch @@ -0,0 +1,14 @@ +diff -ur libvorbis.orig/configure.in libvorbis/configure.in +--- libvorbis.orig/configure.in 2005-11-28 00:43:26.000000000 -0500 ++++ libvorbis/configure.in 2011-08-19 23:18:50.000000000 -0400 +@@ -161,8 +161,8 @@ + PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;; + *-*-darwin*) + DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char" +- CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char" +- PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";; ++ CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O3 -ffast-math -fsigned-char" ++ PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O3 -ffast-math -fsigned-char";; + *) + DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char" + CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char" |