]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- cflags (i586,i686) += -mmmx. auto/th/ffmpeg-0_4_9-3_20060129_4
authorPaweł Sikora <pluto@pld-linux.org>
Mon, 30 Jan 2006 08:23:56 +0000 (08:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ffmpeg.spec -> 1.63

ffmpeg.spec

index 6fad39c4630c5b17e5d4cccf97e4dc0de9c7cf94..7e64cd18ba6145bc6cc4578d3611754d245d35f2 100644 (file)
@@ -8,7 +8,7 @@ Summary(pl):    Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 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
@@ -50,6 +50,14 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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
@@ -175,7 +183,7 @@ obrazie.
        --disable-mmx \
 %endif
        --cc="%{__cc}" \
-       --extra-cflags="%{rpmcflags} -fomit-frame-pointer -fno-strict-aliasing" \
+       --extra-cflags="%{rpmcflags}" \
        --extra-ldflags="%{rpmldflags}" \
        --disable-debug \
        --disable-opts \
This page took 0.509172 seconds and 4 git commands to generate.