New -D for -Werror but without the strict-prototype check (in order to get it to...
authorDennis Schafroth <dennis@indexdata.com>
Wed, 23 May 2012 08:47:10 +0000 (08:47 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 23 May 2012 08:49:01 +0000 (08:49 +0000)
buildconf.sh

index bc1f6e2..3817a7a 100755 (executable)
@@ -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=""