diff options
author | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-09-12 09:19:55 +0000 |
---|---|---|
committer | Christiano F. Haesbaert <haesbaert@cvs.openbsd.org> | 2012-09-12 09:19:55 +0000 |
commit | 85a8e82c65809b85d5851a8b7eabf8e16dbf272e (patch) | |
tree | 134ac1e12fbcbaeecc23ae3fbaa2ffe4a2722994 /usr.bin/pctr | |
parent | ffbfc32cccf051b211b583abfe3d862bbfd07e80 (diff) |
Define empty CDIAGFLAGS for programs that use Werror.
Makes "make build" build with WARNINGS=Yes on amd64.
ok espie
Diffstat (limited to 'usr.bin/pctr')
-rw-r--r-- | usr.bin/pctr/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/pctr/Makefile b/usr.bin/pctr/Makefile index 2112272a5a2..d5c8aa14ecd 100644 --- a/usr.bin/pctr/Makefile +++ b/usr.bin/pctr/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.7 2007/10/17 02:30:23 deraadt Exp $ +# $OpenBSD: Makefile,v 1.8 2012/09/12 09:19:54 haesbaert Exp $ MAN=pctr.1 CFLAGS+=-W -Wall -Werror +CDIAGFLAGS= .if ${MACHINE} == "amd64" || ${MACHINE} == "i386" PROG= pctr |