[vlc-devel] [PATCH 1/3] ffmpeg: don't force Intel Core 2 optimizations if not building 64-bit on Solaris

Sean McGovern gseanmcg at gmail.com
Tue Jun 24 23:11:30 CEST 2014


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

diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 8633bb8..cae48ab 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -136,7 +136,10 @@ FFMPEGCONF += --enable-pthreads
 endif
 
 ifdef HAVE_SOLARIS
-FFMPEGCONF += --cpu=core2 --enable-pic
+ifeq ($(ARCH),x86_64)
+FFMPEGCONF += --cpu=core2
+endif
+FFMPEGCONF += --enable-pic
 endif
 
 # Build
-- 
1.7.9.2




More information about the vlc-devel mailing list