diff --git a/clamav.changes b/clamav.changes index 9f51a17..0dfb9b5 100644 --- a/clamav.changes +++ b/clamav.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 17 10:07:51 UTC 2016 - martin.liska@suse.com + +- Change default C++ std to -std=gnu++98. + ------------------------------------------------------------------- Thu Mar 3 11:30:10 UTC 2016 - ecsos@opensuse.org diff --git a/clamav.spec b/clamav.spec index 1b946c0..da20499 100644 --- a/clamav.spec +++ b/clamav.spec @@ -79,7 +79,7 @@ and multiple signature languages for detecting threats. CFLAGS="-fstack-protector" CXXFLAGS="-fstack-protector" export CFLAGS="%optflags $CFLAGS -fPIE -fno-strict-aliasing" -export CXXFLAGS="%optflags $CXXFLAGS -fPIE -fno-strict-aliasing" +export CXXFLAGS="%optflags $CXXFLAGS -fPIE -fno-strict-aliasing -std=gnu++98" export LDFLAGS="-pie" %if "%_lib" == "lib64" # tomsfastmath needs this for correct operation on 64-bit platforms