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
%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
--disable-mmx \
%endif
--cc="%{__cc}" \
- --extra-cflags="%{rpmcflags} -fomit-frame-pointer -fno-strict-aliasing" \
+ --extra-cflags="%{rpmcflags}" \
--extra-ldflags="%{rpmldflags}" \
--disable-debug \
--disable-opts \