[gimp] build with -fno-strict-aliasing

Nils Philippsen nphilipp at fedoraproject.org
Mon Jan 28 13:37:00 UTC 2013


commit 1fffe987722ae80efae561ceb6e3cfc1d23ff106
Author: Nils Philippsen <nils at redhat.com>
Date:   Mon Jan 28 14:36:44 2013 +0100

    build with -fno-strict-aliasing

 gimp.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gimp.spec b/gimp.spec
index 117fe13..572d599 100644
--- a/gimp.spec
+++ b/gimp.spec
@@ -80,7 +80,7 @@ Summary:        GNU Image Manipulation Program
 Name:           gimp
 Epoch:          2
 Version:        2.8.2
-Release:        %{?prerelprefix}6%{dotprerel}%{dotgitrev}%{?dist}.1
+Release:        %{?prerelprefix}7%{dotprerel}%{dotgitrev}%{?dist}
 
 # Compute some version related macros
 # Ugly hack, you need to get your quoting backslashes/percent signs straight
@@ -325,6 +325,8 @@ export LDFLAGS='-pie'
 %endif
 %endif
 %configure \
+    CFLAGS="$CFLAGS -fno-strict-aliasing" \
+    CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \
 %if %{with python}
     --enable-python \
 %else
@@ -602,6 +604,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %endif
 
 %changelog
+* Mon Jan 28 2013 Nils Philippsen <nils at redhat.com> - 2:2.8.2-7
+- build with -fno-strict-aliasing
+
 * Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 2:2.8.2-6.1
 - rebuild due to "jpeg8-ABI" feature drop
 


More information about the scm-commits mailing list