From 79985ce2ecc8630a2c1ca48a8eef61e3a69c3fdd Mon Sep 17 00:00:00 2001 From: katherine Date: Sun, 26 May 2019 18:23:25 -0700 Subject: add -pedantic to debug build --- configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 26a510e..467c469 100755 --- a/configure +++ b/configure @@ -11,7 +11,7 @@ objects=`find $srcdir -type f -name '*.c' | sed -e "s/$srcdir\/\(.*\).c/\1.o/"` cc='cc' cflags='-Wall -O2' -cflagsdebug='-Wall -ggdb3 -O0 -DDEBUG' +cflagsdebug='-std=c99 -Wall -pedantic -ggdb3 -O0 -DDEBUG' prefix='/usr/local' @@ -29,6 +29,10 @@ if [ ! `2>/dev/null which gcc` ]; then dgen='clang' fi +if [ -f 'Makefile' ]; then + make clean +fi + { printf %s\\n '.POSIX:' printf %s\\n '.SUFFIXES:' -- cgit v1.2.3