SPECS: ffmpeg.spec - cflags (i586,i686) += -mmmx.

pluto pluto at pld-linux.org
Mon Jan 30 09:24:02 CET 2006


Author: pluto                        Date: Mon Jan 30 08:24:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cflags (i586,i686) += -mmmx.

---- Files affected:
SPECS:
   ffmpeg.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.62 SPECS/ffmpeg.spec:1.63
--- SPECS/ffmpeg.spec:1.62	Mon Jan 30 04:04:22 2006
+++ SPECS/ffmpeg.spec	Mon Jan 30 09:23:56 2006
@@ -9,7 +9,7 @@
 Name:		ffmpeg
 Version:	0.4.9
 %define	snap	20060129
-Release:	3.%{snap}.3
+Release:	3.%{snap}.4
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 License:	GPL
 Group:		Daemons
@@ -51,6 +51,14 @@
 
 %define		_noautoreqdep	libGL.so.1 libGLU.so.1
 
+%define		specflags	-fno-strict-aliasing
+
+# -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one)
+%define		specflags_ia32	-fomit-frame-pointer
+# -mmmx is needed to enable <mmintrin.h> code.
+%define		specflags_i586	-mmmx
+%define		specflags_i686	-mmmx
+
 %description
 ffmpeg is a hyper fast realtime audio/video encoder and streaming
 server. It can grab from a standard Video4Linux video source and
@@ -176,7 +184,7 @@
 	--disable-mmx \
 %endif
 	--cc="%{__cc}" \
-	--extra-cflags="%{rpmcflags} -fomit-frame-pointer -fno-strict-aliasing" \
+	--extra-cflags="%{rpmcflags}" \
 	--extra-ldflags="%{rpmldflags}" \
 	--disable-debug \
 	--disable-opts \
@@ -254,6 +262,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2006/01/30 08:23:56  pluto
+- cflags (i586,i686) += -mmmx.
+
 Revision 1.62  2006/01/30 03:04:22  pluto
 - libdts and faad2 support enabled.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ffmpeg.spec?r1=1.62&r2=1.63&f=u



More information about the pld-cvs-commit mailing list