[vlc-commits] ffmpeg: enable PIC on Solaris

Sean McGovern git at videolan.org
Fri Jul 4 18:56:27 CEST 2014


vlc/vlc-2.2 | branch: master | Sean McGovern <gseanmcg at gmail.com> | Mon Jun 23 21:08:14 2014 -0400| [01dfe967678c82b22981e6043083ddf7a08b30bc] | committer: Jean-Baptiste Kempf

ffmpeg: enable PIC on Solaris

Signed-off-by: Rafaël Carré <funman at videolan.org>
(cherry picked from commit 0e9928bea14bc1f25549dbedfc4642f8799d27ca)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=01dfe967678c82b22981e6043083ddf7a08b30bc
---

 contrib/src/ffmpeg/rules.mak |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 62bb9e6..349ff25 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -135,6 +135,10 @@ else # !Windows
 FFMPEGCONF += --enable-pthreads
 endif
 
+ifdef HAVE_SOLARIS
+FFMPEGCONF += --cpu=core2 --enable-pic
+endif
+
 # Build
 PKGS += ffmpeg
 ifeq ($(call need_pkg,"libavcodec >= 54.25.0 libavformat >= 53.21.0 libswscale"),)



More information about the vlc-commits mailing list