]> git.sesse.net Git - vlc/commitdiff
ffmpeg: enable PIC on Solaris
authorSean McGovern <gseanmcg@gmail.com>
Tue, 24 Jun 2014 01:08:14 +0000 (21:08 -0400)
committerRafaël Carré <funman@videolan.org>
Tue, 24 Jun 2014 07:42:16 +0000 (09:42 +0200)
Signed-off-by: Rafaël Carré <funman@videolan.org>
contrib/src/ffmpeg/rules.mak

index 4ce4682a41314eb768343a9cc5904c3c9806dc33..8633bb875c780c26b9454fa3d749e3ca3e2a11cf 100644 (file)
@@ -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"),)