summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/chkprintcap
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-05-13 06:50:09 +0000
committerjb <jb@FreeBSD.org>1998-05-13 06:50:09 +0000
commit12412f8127b81e3b72d4716eeb0f80e6e4873993 (patch)
tree075bfb7149cf26ec8c2e1c5e31de771c5dfe34af /usr.sbin/lpr/chkprintcap
parent395cfb57666bc22c322f87cbe0ab834d2533c1c6 (diff)
downloadFreeBSD-src-12412f8127b81e3b72d4716eeb0f80e6e4873993.zip
FreeBSD-src-12412f8127b81e3b72d4716eeb0f80e6e4873993.tar.gz
Make -Werror i386 specific because -nostinc on alpha spits warnings
for unused static inline functions in header files.
Diffstat (limited to 'usr.sbin/lpr/chkprintcap')
-rw-r--r--usr.sbin/lpr/chkprintcap/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/lpr/chkprintcap/Makefile b/usr.sbin/lpr/chkprintcap/Makefile
index 1cbabbf..dd8d8e6 100644
--- a/usr.sbin/lpr/chkprintcap/Makefile
+++ b/usr.sbin/lpr/chkprintcap/Makefile
@@ -1,10 +1,14 @@
-# $Id: Makefile,v 1.2 1997/12/16 17:53:14 bde Exp $
+# $Id: Makefile,v 1.3 1998/03/07 09:47:55 bde Exp $
PROG= chkprintcap
MAN8= chkprintcap.8
-CFLAGS+=-I${.CURDIR}/../common_source -Wall -Werror
+CFLAGS+=-I${.CURDIR}/../common_source -Wall
.PATH: ${.CURDIR}/../common_source
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -Werror
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud