Code

Add -D_FORTIFY_SOURCE
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Thu, 10 Jul 2008 10:03:49 +0000 (10:03 +0000)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Thu, 10 Jul 2008 10:03:49 +0000 (10:03 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2024 f882894a-f735-0410-b71e-b25c423dba1c

tools/devmode

index 09c1b9a95951b43b583306f0c61d51b8a6a0adc4..2dff3601b5eeb92a27732e65d143c33810676b91 100755 (executable)
@@ -1,2 +1,2 @@
 # do "eval tools/devmode" to get pedantic compiler settings
-echo export CFLAGS=\"-g -O3 -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\"
+echo 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\"