From: Junio C Hamano Date: Thu, 30 Apr 2009 05:11:46 +0000 (-0700) Subject: Meta/Make: do not special case decl-after-statement warning X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652d1800b0d064a0e94d6c633c74aade0d6f7c7d;p=thirdparty%2Fgit.git Meta/Make: do not special case decl-after-statement warning --- diff --git a/Make b/Make index 98bc272c8c..35ac488832 100755 --- a/Make +++ b/Make @@ -28,7 +28,7 @@ LANG=C old_style_def_fix=b79d18c92d9f4841a6a1a29b7b2373a8ff9871e1 : ${O=-O2} -Wall=-Wall tests= +Wall='-Wall -Wdeclaration-after-statement' tests= while case $# in 0) break ;; esac do case "$1" in @@ -101,7 +101,7 @@ sh -c 'git describe --abbrev=4 HEAD' >/dev/null 2>&1 || { d="$d ASCIIDOC_NO_ROFF=YesPlease ASCIIDOC8=YesPlease" -CFLAGS="$O $Wall -Wdeclaration-after-statement -g" +CFLAGS="$O $Wall -g" make $d \ GITWEB_CONFIG=$G \