Commit 2818b351 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 bc629a4a
...@@ -166,6 +166,10 @@ ifdef HAVE_AMR ...@@ -166,6 +166,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`
# *************************************************************************** # ***************************************************************************
...@@ -1292,6 +1296,7 @@ ifdef HAVE_BIGENDIAN ...@@ -1292,6 +1296,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