git.videolan.org
/
vlc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contribs: compile x264 and live555 as PIC
[vlc.git]
/
extras
/
contrib
/
src
/
Makefile
diff --git
a/extras/contrib/src/Makefile
b/extras/contrib/src/Makefile
index
223df26
..
9cc78b9
100644
(file)
--- a/
extras/contrib/src/Makefile
+++ b/
extras/contrib/src/Makefile
@@
-166,6
+166,10
@@
ifdef HAVE_AMR
FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree
endif
FFMPEGCONF+= --enable-libamr-nb --enable-libamr-wb --enable-nonfree
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
(cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC))
endif
else
(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
(cd $<; ./genMakefiles linux && make $(HOSTCC))
endif
endif