build with -fno-strict-aliasing

This commit is contained in:
Nils Philippsen 2013-01-28 14:36:44 +01:00
parent 9573a9a44b
commit 1fffe98772

View File

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