[pth] Removed FORTIFY_SOURCE for %{arm} archs per Ajay Ramaswamy <ajayr at krithika.net> See https://bugzilla

Chris Tyler ctyler at fedoraproject.org
Mon Oct 31 20:28:02 UTC 2011


commit 19f559937abfec2945e73e4a1eade5d44de5ae88
Author: Chris Tyler <chris at tylers.info>
Date:   Mon Oct 31 16:30:35 2011 -0400

    Removed FORTIFY_SOURCE for %{arm} archs per Ajay Ramaswamy <ajayr at krithika.net>
    See https://bugzilla.redhat.com/show_bug.cgi?id=750243

 pth.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/pth.spec b/pth.spec
index 5bded79..825c107 100644
--- a/pth.spec
+++ b/pth.spec
@@ -1,7 +1,7 @@
 Summary:        The GNU Portable Threads library
 Name:           pth
 Version:        2.0.7
-Release:        11%{?dist}
+Release:        12%{?dist}
 License:        LGPLv2+
 Group:          System Environment/Libraries
 URL:            http://www.gnu.org/software/pth/
@@ -35,6 +35,10 @@ Development headers and libraries for GNU Pth.
 
 
 %build
+%ifarch %{arm}
+CFLAGS="$(echo $RPM_OPT_FLAGS | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=0/g')"
+%endif
+
 %configure --disable-static ac_cv_func_sigstack='no'
 
 # Work around multiarch conflicts in the pth-config script in order
@@ -102,6 +106,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Oct 31 2011 Chris Tyler <chris at tylers.info> - 2.0.7-12
+- Removed FORTIFY_SOURCE for %{arm} archs per Ajay Ramaswamy <ajayr at krithika.net>
+- See https://bugzilla.redhat.com/show_bug.cgi?id=750243
+
 * Fri Sep 16 2011 Michael Schwendt <mschwendt at fedoraproject.org> - 2.0.7-11
 - Use %%_isa in -devel package dependency.
 - Use %%_libdir not %%ifarch in %%check section.


More information about the scm-commits mailing list