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
FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree
endif
ifdef HAVE_LINUX
X264CONF += --enable-pic
endif
DATE=`date +%Y-%m-%d`
# ***************************************************************************
......@@ -1288,6 +1292,7 @@ ifdef HAVE_BIGENDIAN
(cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC))
endif
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))
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