From 4ee54807a9aef5b4276b75bb658eb0aa1abfc39b Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Aug 29 2012 12:46:07 +0000 Subject: - related: #832545 reverted changes for this bug, static libraries shouldn't be compiled with -fPIC flag --- diff --git a/zlib.spec b/zlib.spec index 6c2351f..026140b 100644 --- a/zlib.spec +++ b/zlib.spec @@ -1,7 +1,7 @@ Summary: The compression and decompression library Name: zlib Version: 1.2.7 -Release: 7%{?dist} +Release: 8%{?dist} # /contrib/dotzlib/ have Boost license License: zlib and Boost Group: System Environment/Libraries @@ -70,7 +70,7 @@ iconv -f iso-8859-2 -t utf-8 < ChangeLog > ChangeLog.tmp mv ChangeLog.tmp ChangeLog %build -export CFLAGS="$RPM_OPT_FLAGS -fPIC" +export CFLAGS="$RPM_OPT_FLAGS" export LDFLAGS="$LDFLAGS -Wl,-z,relro" ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} make %{?_smp_mflags} @@ -126,6 +126,11 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/pkgconfig/minizip.pc %changelog +* Wed Aug 29 2012 Peter Schiffer - 1.2.7-8 +- related: #832545 + reverted changes for this bug, static libraries shouldn't be compiled with + -fPIC flag + * Mon Aug 27 2012 Peter Schiffer - 1.2.7-7 - resolves: #844791 rank Z_BLOCK flush below Z_PARTIAL_FLUSH only when last flush was Z_BLOCK