Commit 19231b3a authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Felix Paul Kühne

contrib: theora: fix building on OSX 10.9 with clang

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
(cherry picked from commit fb269ef054e0db840e18230e950bb1ee671832ff)
parent 85bd95ea
--- a/configure.ac.orig 2014-06-27 16:45:06.000000000 -0400
+++ b/configure.ac 2014-06-27 16:45:23.000000000 -0400
@@ -180,7 +180,7 @@
case $host in
*)
DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
+ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops"
PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
esac
fi
--- a/configure.orig 2014-06-27 16:57:16.000000000 -0400
+++ b/configure 2014-06-27 16:57:21.000000000 -0400
@@ -11863,7 +11863,7 @@
case $host in
*)
DEBUG="-g -Wall -Wno-parentheses -DDEBUG -D__NO_MATH_INLINES"
- CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
+ CFLAGS="-Wall -Wno-parentheses -O3 -fomit-frame-pointer -finline-functions -funroll-loops"
PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
esac
fi
......@@ -17,6 +17,9 @@ $(TARBALLS)/libtheora-$(THEORA_VERSION).tar.xz:
libtheora: libtheora-$(THEORA_VERSION).tar.xz .sum-theora
$(UNPACK)
$(APPLY) $(SRC)/theora/libtheora-compiler-differentiation.patch
ifdef HAVE_MACOSX
$(APPLY) $(SRC)/theora/libtheora-no-forceaddr.patch
endif
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment