From 10f3c58531734660dc14393e7ec9e37ca86184c8 Mon Sep 17 00:00:00 2001 From: Dennis Schafroth Date: Wed, 23 May 2012 08:47:10 +0000 Subject: [PATCH] New -D for -Werror but without the strict-prototype check (in order to get it to work) --- buildconf.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/buildconf.sh b/buildconf.sh index bc1f6e2..3817a7a 100755 --- a/buildconf.sh +++ b/buildconf.sh @@ -67,6 +67,13 @@ case $1 in enable_help=false shift ;; + -D) + sh_cflags="-g -Wall -Werror -Wdeclaration-after-statement" + sh_cxxflags="-g -Wall -Werror" + enable_configure=true + enable_help=false + shift + ;; -c) sh_cflags="" sh_cxxflags="" -- 1.7.10.4