diff --git a/kdelibs3.spec b/kdelibs3.spec index 8b225e5..a6fbbda 100644 --- a/kdelibs3.spec +++ b/kdelibs3.spec @@ -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 - 3.5.10-78 - rebuild (jasper) +- drop the extra -Werror= flags for C, they break the configure script * Wed Sep 28 2016 Kevin Kofler - 3.5.10-77 - backport CUPS 2.2 build fix from Trinity / Slávek Banko