aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorceros7 <ceros7@svn>2010-08-16 01:16:23 +0000
committerceros7 <ceros7@svn>2010-08-16 01:16:23 +0000
commit373a612f7f163d2abb3f7a53a8feda9099e2aefb (patch)
treef10d9ec8a16e22b862f9808bbb0b64080433702b /configure.in
parentac9e30bdfc3f9a4021a8cdff81369540cc320aef (diff)
Enable PIC for all architectures but x86 when building ffmpeg.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32807 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index bc04ad704e..a5d8a7a398 100644
--- a/configure.in
+++ b/configure.in
@@ -1656,7 +1656,7 @@ XB_CONFIG_MODULE([xbmc/cores/dvdplayer/Codecs/ffmpeg], [
--enable-protocol=http \
--enable-pthreads \
--enable-runtime-cpudetect \
- `case $host_cpu in powerpc*|arm*|amd64*|x86_64*|ia64*) echo --enable-pic ;; esac` \
+ `case $host_cpu in i?86) echo --disable-pic ;; *) echo --enable-pic ;; esac` \
--cc="$CC" &&
sed -i -e "s#define HAVE_SYMVER 1#define HAVE_SYMVER 0#" config.h &&
sed -i -e "s#define HAVE_SYMVER_GNU_ASM 1#define HAVE_SYMVER_GNU_ASM 0#" config.h