]> git.pld-linux.org Git - packages/flac.git/commitdiff
- workaround for broken build process (which fails on AMD64)
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 29 Dec 2003 16:45:55 +0000 (16:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flac.spec -> 1.32

flac.spec

index 8791db837ae48ace34932007f1a42803f23bfae9..7fb91d3f191448a055f02194bab0b73530db25d1 100644 (file)
--- a/flac.spec
+++ b/flac.spec
@@ -84,7 +84,13 @@ Wtyczka dla XMMS umo
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+
+# during make static libraries are linked into dynamic libraries
+# objects in static libraries are compiled without -fPIC and such
+# objects cannot be linked into dynamic libraries on some platforms
+# e.g. AMD64. Workaround - -fPIC passed to every compilation
+%configure \
+       CFLAGS="-fPIC %{rpmcflags}"
 %{__make}
 
 %install
This page took 0.074395 seconds and 4 git commands to generate.