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
This commit is contained in:
Fischlurch 2015-11-03 03:06:24 +01:00
parent 03eb0ff8f1
commit 52c828fb68

View file

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