]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- won't work without -fPIC on ppc, added auto/th/ffmpeg-0_5-2 auto/ti/ffmpeg-0_5-2
authorsparky <sparky@pld-linux.org>
Wed, 29 Apr 2009 09:57:56 +0000 (09:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass cflags along with ldflags
- rel 2

Changed files:
    ffmpeg.spec -> 1.181

ffmpeg.spec

index 6a0de70ab0cf3213d314ecf55811340d569c244f..7134c778b5516a1551fdf9c19dbf9604261b88a9 100644 (file)
@@ -10,7 +10,7 @@ Summary:      Realtime audio/video encoder and streaming server
 Summary(pl.UTF-8):     Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:          ffmpeg
 Version:       0.5
-Release:       1
+Release:       2
 # LGPL or GPL, chosen at configure time (GPL version is more featured)
 # (postprocessing, ac3, xvid, x264, faad)
 License:       GPL v2+ with LGPL v2.1+ parts
@@ -75,6 +75,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # -mmmx is needed to enable <mmintrin.h> code.
 %define                specflags_i586  -mmmx
 %define                specflags_i686  -mmmx
+%define                specflags_ppc   -fPIC
 
 %description
 ffmpeg is a hyper fast realtime audio/video encoder and streaming
@@ -267,7 +268,7 @@ EOF
        --mandir=%{_mandir} \
        --cc="%{__cc}" \
        --extra-cflags="-D_GNU_SOURCE=1 %{rpmcppflags} %{rpmcflags} -I/usr/include/libavcodec -I/usr/include/libswscale" \
-       --extra-ldflags="%{rpmldflags}" \
+       --extra-ldflags="%{rpmcflags} %{rpmldflags}" \
        --disable-debug \
        --disable-optimizations \
        --disable-stripping \
This page took 0.203325 seconds and 4 git commands to generate.