build with -fno-strict-aliasing

This commit is contained in:
Nils Philippsen 2013-01-30 16:00:23 +01:00
parent 9fb740b906
commit d1ec78f270

View File

@ -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@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