[xsane] build with -fno-strict-aliasing
Nils Philippsen
nphilipp at fedoraproject.org
Wed Jan 30 16:42:40 UTC 2013
commit d1ec78f2702786ed7f89bf9fc484241abd86b2ec
Author: Nils Philippsen <nils at redhat.com>
Date: Wed Jan 30 16:00:23 2013 +0100
build with -fno-strict-aliasing
xsane.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xsane.spec b/xsane.spec
index f103338..7322a9b 100644
--- a/xsane.spec
+++ b/xsane.spec
@@ -130,8 +130,8 @@ mkdir build-with-gimp
mkdir build-without-gimp
%build
-CC='gcc -DXSANE_BUGTRACKER_URL=\"%{bugtracker_url}\"'
-export CC
+CFLAGS='%optflags -fno-strict-aliasing -DXSANE_BUGTRACKER_URL=\"%{bugtracker_url}\"'
+export CFLAGS
pushd build-with-gimp
%configure --enable-gimp
@@ -217,6 +217,9 @@ fi
%{_datadir}/sane/xsane
%changelog
+* Wed Jan 30 2013 Nils Philippsen <nils at redhat.com>
+- build with -fno-strict-aliasing
+
* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.998-14
- rebuild due to "jpeg8-ABI" feature drop
More information about the scm-commits
mailing list