diff options
author | Marco Peereboom <marco@conformal.com> | 2011-11-04 18:55:35 -0500 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-11-04 18:55:35 -0500 |
commit | d63cd393d0a63f80ceb15df9057796f2c0d1b07d (patch) | |
tree | 74c80c34d4b65d637f0831d14118a423a03f0f57 /Makefile | |
parent | c3c8375418cf67c32ea74126d0a5b59a740fadb4 (diff) | |
download | xombrero-d63cd393d0a63f80ceb15df9057796f2c0d1b07d.tar.gz |
move common warnings to common area
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile index ae5fba4..169a778 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ MAN=xxxterm.1 SRCS= cookie.c inspector.c marco.c about.c whitelist.c settings.c xxxterm.c CFLAGS+= -O2 -Wall -Wno-format-extra-args -Wunused +CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare DEBUG= -ggdb3 LDADD= -lutil -lgcrypt LIBS+= gtk+-2.0 @@ -45,14 +46,12 @@ ${PROG} ${OBJS} beforedepend: ${.CURDIR}/javascript.h # clang targets .if ${.TARGETS:M*analyze*} 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 -Wshadow -CFLAGS+= -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-sign-compare CC=clang CXX=clang++ CPP=clang -E |