From e6c8b820fdf52861743609545d57a158eddb1476 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Wed, 13 Dec 2006 07:46:46 +0000 Subject: [PATCH] Rename warnflags to debug-build and add debugging and torture defines. --- warnflags.sh => debug-build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) rename warnflags.sh => debug-build.sh (73%) diff --git a/warnflags.sh b/debug-build.sh similarity index 73% rename from warnflags.sh rename to debug-build.sh index 1781b7e..736e356 100755 --- a/warnflags.sh +++ b/debug-build.sh @@ -2,4 +2,6 @@ BDECFLAGS="-W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs \ -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings" -(cd trunk && rm -f darkhttpd && make bsd CFLAGS="$BDECFLAGS") +(cd trunk && +rm -f darkhttpd && +make bsd CFLAGS="$BDECFLAGS -g -DDEBUG -DTORTURE")