From 25b6640544da2df4a8c15f9046578b8f8f461b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Jakub=C3=AD=C4=8Dek?= Date: Wed, 22 Apr 2009 20:24:09 +0000 Subject: [PATCH] - Fix FTBFS: use gcc -shared instead of ld -shared to compile with -fstack-protector --- libgeotiff.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libgeotiff.spec b/libgeotiff.spec index 51bbec1..8145712 100644 --- a/libgeotiff.spec +++ b/libgeotiff.spec @@ -1,6 +1,6 @@ Name: libgeotiff Version: 1.2.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: GeoTIFF format library Group: System Environment/Libraries License: MIT @@ -57,6 +57,9 @@ find . -name ".cvsignore" -exec rm -rf '{}' \; # disable -g flag removal sed -i 's| \| sed \"s\/-g \/\/\"||g' configure +# use gcc -shared instead of ld -shared to build with -fstack-protector +sed -i 's|LD_SHARED=@LD_SHARED@|LD_SHARED=@CC@ -shared|' Makefile.in + %configure \ --prefix=%{_prefix} \ --includedir=%{_includedir}/%{name}/ \ @@ -130,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Apr 22 2009 Milos Jakubicek - 1.2.5-4 +- Fix FTBFS: use gcc -shared instead of ld -shared to compile with -fstack-protector + * Wed Feb 25 2009 Fedora Release Engineering - 1.2.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild