SPECS: ffmpeg.spec - gcc41+ workaround.

pluto pluto at pld-linux.org
Sun Dec 4 13:55:01 CET 2005


Author: pluto                        Date: Sun Dec  4 12:55:01 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gcc41+ workaround.

---- Files affected:
SPECS:
   ffmpeg.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/ffmpeg.spec
diff -u SPECS/ffmpeg.spec:1.54 SPECS/ffmpeg.spec:1.55
--- SPECS/ffmpeg.spec:1.54	Thu Dec  1 14:32:57 2005
+++ SPECS/ffmpeg.spec	Sun Dec  4 13:54:55 2005
@@ -3,13 +3,16 @@
 # Conditional build:
 %bcond_without	imlib2		# we can safely play without it :-)
 %bcond_without	autoreqdep	# don't care about package name deps generated by rpm
+%bcond_with	gcc4		# disable long inline mmx assembly.
+				# gcc4+ doesn't like hard register pressure and won't be fixed.
+				# ffmpeg and other apps should be rewrited with <mmintrin.h>.
 #
 Summary:	Realtime audio/video encoder and streaming server
 Summary(pl):	Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:		ffmpeg
 Version:	0.4.9
 %define	snap	20050806
-Release:	3.%{snap}.2
+Release:	3.%{snap}.3
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 License:	GPL
 Group:		Daemons
@@ -163,14 +166,18 @@
 	--enable-theora \
 	--enable-vorbis \
 	--enable-xvid \
+%if %{without gcc4}
 %ifnarch %{ix86}
 	--disable-mmx \
 %endif
 %ifarch i386 i486
 	--disable-mmx \
 %endif
+%else
+	--disable-mmx \
+%endif
 	--cc="%{__cc}" \
-	--extra-cflags="%{rpmcflags} -fomit-frame-pointer" \
+	--extra-cflags="%{rpmcflags} -fomit-frame-pointer -fno-strict-aliasing" \
 	--extra-ldflags="%{rpmldflags}" \
 	--disable-debug \
 	--disable-opts \
@@ -247,6 +254,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2005/12/04 12:54:55  pluto
+- gcc41+ workaround.
+
 Revision 1.54  2005/12/01 13:32:57  qboosh
 - added libavcodec deps to -devel
 
================================================================

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




More information about the pld-cvs-commit mailing list