From: Ruben Kerkhof Date: Thu, 19 Feb 2015 18:41:07 +0000 (+0100) Subject: Add -Wall to the default CFLAGS X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~128^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46a09ebd0a0604fa2c2792e21d4ae78bf10b7216;p=thirdparty%2Fpdns.git Add -Wall to the default CFLAGS The default on my system is -g -O2 --- diff --git a/configure.ac b/configure.ac index d1c175aa35..1a09285371 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,7 @@ AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip tar-ustar -Wno-portability sub AM_SILENT_RULES([yes]) AC_CANONICAL_HOST +: ${CFLAGS="-Wall -g -O2"} : ${CXXFLAGS="-Wall -g -O2"} AC_PROG_CC