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 +- build with -fno-strict-aliasing + * Mon Jan 21 2013 Adam Tkac - 0.998-14 - rebuild due to "jpeg8-ABI" feature drop