Code

Tests for --rate-multiplier option
[nagiosplug.git] / tools / devmode
index d350e6c62c13c0b2d2b7f00f314ddabc3283bded..7ba9ba7845db3dfc772fa2b15584bf6ec6de8afb 100755 (executable)
@@ -1,3 +1,3 @@
-echo \# do \"eval \`$0\`\" to get pedantic compiler settings
-echo
-echo export CFLAGS=\"-g -O3 -pedantic -Wall -W -Wformat=2 -Wfloat-equal -Wtraditional -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\"
+# do "eval tools/devmode" to get pedantic compiler settings
+# Info about -D_FORTIFY_SOURCE: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html
+echo 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\"