From 52c828fb685c78db66940b186436732a0fd5b4e7 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Tue, 3 Nov 2015 03:06:24 +0100 Subject: [PATCH] post-release: add security relevant warning to standard build ...this is proposed by debian; lets see how this turns out We could also add -fstack-protector-strong, but I prefer to set this in the package definition --- admin/scons/Setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/scons/Setup.py b/admin/scons/Setup.py index 7a6f73976..0acda186b 100644 --- a/admin/scons/Setup.py +++ b/admin/scons/Setup.py @@ -73,7 +73,7 @@ def defineBuildEnvironment(): env.Replace( CPPPATH =["#src"] # used to find includes, "#" means always absolute to build-root , CPPDEFINES=['LUMIERA_VERSION='+VERSION ] # note: it's a list to append further defines - , CCFLAGS='-Wall -Wextra' + , CCFLAGS='-Wall -Wextra -Wformat-security' , CXXFLAGS='-std=gnu++14 -Wno-enum-compare' , CFLAGS='-std=gnu99' )