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/libogg/P00-darwin-O4.patch | |
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/libogg/P00-darwin-O4.patch')
-rw-r--r-- | contrib/libogg/P00-darwin-O4.patch | 14 |
1 files changed, 14 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" |