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
This commit is contained in:
Marcus Meissner 2016-06-17 13:53:52 +00:00 committed by Git OBS Bridge
parent 2043ee586a
commit 7988b83fbe
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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