summaryrefslogtreecommitdiffstats
path: root/tools/devmode
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-08-05 11:14:40 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-08-05 11:14:40 (GMT)
commit01969557b7c35706226309b4bd05af5e54323a94 (patch)
treeda228b9a75cffead84f3c4db81cd14bddf27f852 /tools/devmode
parent3c38fc752e6015541416b7aa9e5b7a740a8357fe (diff)
downloadmonitoring-plugins-01969557b7c35706226309b4bd05af5e54323a94.tar.gz
Set -D_FORTIFY_SOURCE=2, and added a comment with link to explaination of this flag.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2028 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'tools/devmode')
-rwxr-xr-xtools/devmode3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/devmode b/tools/devmode
index 2dff360..7ba9ba7 100755
--- a/tools/devmode
+++ b/tools/devmode
@@ -1,2 +1,3 @@
1# do "eval tools/devmode" to get pedantic compiler settings 1# do "eval tools/devmode" to get pedantic compiler settings
2echo export CFLAGS=\"-g -O3 -D_FORTIFY_SOURCE -pedantic -Wall -W -Wformat=2 -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Wunreachable-code -Winline\" 2# Info about -D_FORTIFY_SOURCE: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
3echo export CFLAGS=\"-g -O3 -D_FORTIFY_SOURCE=2 -pedantic -Wall -W -Wformat=2 -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-noreturn -Wmissing-format-attribute -Wnested-externs -Wunreachable-code -Winline\"