From 0d7d7ba013560ea56aeb9a1cf3eeae0ac9a21a0b Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Feb 14 2016 22:04:43 +0000 Subject: Add -std=gnu++98 to the CXXFLAGS to fix FTBFS (#1307685) * Sun Feb 14 2016 Kevin Kofler - 3.5.10-73 - Add -std=gnu++98 to the CXXFLAGS to fix FTBFS (#1307685) --- diff --git a/kdelibs3.spec b/kdelibs3.spec index f475d3e..11f3e4e 100644 --- a/kdelibs3.spec +++ b/kdelibs3.spec @@ -18,7 +18,7 @@ Summary: KDE 3 Libraries Name: kdelibs3 Version: 3.5.10 -Release: 72%{?dist} +Release: 73%{?dist} License: LGPLv2 Url: http://www.kde.org/ @@ -299,6 +299,8 @@ fi export DO_NOT_COMPILE="libkscreensaver" %endif +export CXXFLAGS="%{optflags} -std=gnu++98" + %configure \ --includedir=%{_includedir}/kde \ --disable-rpath \ @@ -598,6 +600,9 @@ touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || : %changelog +* Sun Feb 14 2016 Kevin Kofler - 3.5.10-73 +- Add -std=gnu++98 to the CXXFLAGS to fix FTBFS (#1307685) + * Thu Feb 04 2016 Fedora Release Engineering - 3.5.10-72 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild