summaryrefslogtreecommitdiffstats
path: root/usr.sbin/lpr/common_source/Makefile
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/common_source/Makefile
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/common_source/Makefile')
-rw-r--r--usr.sbin/lpr/common_source/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/lpr/common_source/Makefile b/usr.sbin/lpr/common_source/Makefile
index 96151e7..155a907 100644
--- a/usr.sbin/lpr/common_source/Makefile
+++ b/usr.sbin/lpr/common_source/Makefile
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: Makefile,v 1.1 1997/12/02 20:45:17 wollman Exp $
#
# Library of internal routines for the print spooler suite.
@@ -11,8 +11,11 @@ SRCS= common.c displayq.c net.c printcap.c request.c rmjob.c \
NOMAN= noman
NOPROFILE= noprofile
NOPIC= nopic
-CFLAGS+= -Werror -Wall -Wnested-externs -Wmissing-prototypes \
+CFLAGS+= -Wall -Wnested-externs -Wmissing-prototypes \
-Wstrict-prototypes -Wredundant-decls
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -Werror
+.endif
install:
OpenPOWER on IntegriCloud