about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-11-04 18:52:14 -0500
committerMarco Peereboom <marco@conformal.com>2011-11-04 18:52:14 -0500
commitc3c8375418cf67c32ea74126d0a5b59a740fadb4 (patch)
tree9388d41f0a3a36027e7bb12317f73033be1626d5 /Makefile
parent274769cc62835137f90e8b9e23a3dd7aacc2627d (diff)
downloadxombrero-c3c8375418cf67c32ea74126d0a5b59a740fadb4.tar.gz
better warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e178f9d..ae5fba4 100644
--- a/Makefile
+++ b/Makefile
@@ -44,15 +44,15 @@ ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h
 
 # clang targets
 .if ${.TARGETS:M*analyze*}
-CFLAGS+= -Wdeclaration-after-statement
-CFLAGS+= -Wshadow
+CFLAGS+= -Wdeclaration-after-statement -Wshadow
+CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare
 CC=clang
 CXX=clang++
 CPP=clang -E
 CFLAGS+=--analyze
 .elif ${.TARGETS:M*clang*}
-CFLAGS+= -Wdeclaration-after-statement
-CFLAGS+= -Wshadow
+CFLAGS+= -Wdeclaration-after-statement -Wshadow
+CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare
 CC=clang
 CXX=clang++
 CPP=clang -E