Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
f78d717f
Commit
f78d717f
authored
Aug 27, 2009
by
Felix Paul Kühne
Browse files
contribs: fixed theora compilation on ppc based macs
parent
1914741b
Changes
3
Hide whitespace changes
Inline
Side-by-side
extras/contrib/src/Makefile
View file @
f78d717f
...
...
@@ -788,7 +788,11 @@ libtheora: libtheora-$(THEORA_VERSION).tar.bz2
ifndef
HAVE_DARWIN_OS
patch
-p0
< Patches/theora.patch
else
patch
-p0
< Patches/theora_mac.patch
ifdef
HAVE_DARWIN_OS_ON_INTEL
patch
-p0
< Patches/theora_mac_intel32.patch
else
patch
-p0
< Patches/theora_mac_ppc.patch
endif
endif
patch
-p0
< Patches/libtheora-includes.patch
ifdef
HAVE_WIN32
...
...
extras/contrib/src/Patches/theora_mac.patch
→
extras/contrib/src/Patches/theora_mac
_intel32
.patch
View file @
f78d717f
File moved
extras/contrib/src/Patches/theora_mac_ppc.patch
0 → 100644
View file @
f78d717f
--- libtheora/configure.ac 2007-09-18 08:47:09.000000000 +0200
+++ libtheora.new/configure.ac 2007-09-23 14:44:48.000000000 +0200
@@ -93,7 +93,7 @@
case $host in
*)
DEBUG="-g -DDEBUG"
- CFLAGS="-O"
+ EXTRA_CFLAGS="-O"
PROFILE="-g -p -DDEBUG" ;;
esac
else
@@ -101,11 +101,11 @@
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"
+ EXTRAS_CFLAGS="-Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -read_only_relocs suppress"
PROFILE="-Wall -Wno-parentheses -pg -g -O3 -fno-inline-functions -DDEBUG";;
esac
fi
-CFLAGS="$CFLAGS $cflags_save"
+CFLAGS="$EXTRAS_CFLAGS $cflags_save"
cpu_x86_64=no
cpu_x86_32=no
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment