From 7988b83fbec9f050e6387a1f127d0fc1dee2f092a783cfa702c6e033dac78a2c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 17 Jun 2016 13:53:52 +0000 Subject: [PATCH] Accepting request 402898 from home:marxin:branches:security Change default C++ std to -std=gnu++98. OBS-URL: https://build.opensuse.org/request/show/402898 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=130 --- clamav.changes | 5 +++++ clamav.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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