drop the extra -Werror= flags for C, they break the configure script

This commit is contained in:
Kevin Kofler 2016-12-03 23:52:53 +01:00
parent cbbd3ce82e
commit 633853c445
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,8 @@ fi
export DO_NOT_COMPILE="libkscreensaver"
%endif
# drop the extra -Werror= flags for C, they break the configure script
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags} -Wno-deprecated-declarations -Wno-narrowing -std=gnu++98"
%configure \
@ -619,6 +621,7 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
%changelog
* Sat Dec 03 2016 Rex Dieter <rdieter@fedoraproject.org> - 3.5.10-78
- rebuild (jasper)
- drop the extra -Werror= flags for C, they break the configure script
* Wed Sep 28 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 3.5.10-77
- backport CUPS 2.2 build fix from Trinity / Slávek Banko