Commit 2839bb5b authored by Pierre Ynard's avatar Pierre Ynard

contribs: compile x264 and live555 as PIC

Compile x264 and live555 as PIC, as otherwise it causes linkage problems
on 64 bits
parent e4462a9c
...@@ -162,6 +162,10 @@ ifdef HAVE_AMR ...@@ -162,6 +162,10 @@ ifdef HAVE_AMR
FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree
endif endif
ifdef HAVE_LINUX
X264CONF += --enable-pic
endif
DATE=`date +%Y-%m-%d` DATE=`date +%Y-%m-%d`
# *************************************************************************** # ***************************************************************************
...@@ -1288,6 +1292,7 @@ ifdef HAVE_BIGENDIAN ...@@ -1288,6 +1292,7 @@ ifdef HAVE_BIGENDIAN
(cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC)) (cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC))
endif endif
else else
(cd $<; sed -e 's%-D_FILE_OFFSET_BITS=64%-D_FILE_OFFSET_BITS=64\ -fPIC\ -DPIC%' -i.orig config.linux)
(cd $<; ./genMakefiles linux && make $(HOSTCC)) (cd $<; ./genMakefiles linux && make $(HOSTCC))
endif endif
endif endif
......
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