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