]> git.pld-linux.org Git - packages/flac.git/blobdiff - flac.spec
- workaround for broken build process (which fails on AMD64)
[packages/flac.git] / 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.096209 seconds and 4 git commands to generate.