summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-06-11 03:53:23 +0000
committerjb <jb@FreeBSD.org>1998-06-11 03:53:23 +0000
commit27f4579e07a7301605c25c41fa447b7e2ad31438 (patch)
tree73a9792c747e2adc00d12c7aec25bbb238bef49d /usr.sbin
parent8181ce88bf36a2a71b0a907075ce2538671a019c (diff)
downloadFreeBSD-src-27f4579e07a7301605c25c41fa447b7e2ad31438.zip
FreeBSD-src-27f4579e07a7301605c25c41fa447b7e2ad31438.tar.gz
Remove -Werror from CFLAGS on i386 because with -nostdinc gcc spits
warnings from unused static inline functions in headers if you happen to set CFLAGS without -O.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/chkprintcap/Makefile6
-rw-r--r--usr.sbin/lpr/common_source/Makefile5
-rw-r--r--usr.sbin/lpr/lpd/Makefile6
3 files changed, 3 insertions, 14 deletions
diff --git a/usr.sbin/lpr/chkprintcap/Makefile b/usr.sbin/lpr/chkprintcap/Makefile
index dd8d8e6..54ad387 100644
--- a/usr.sbin/lpr/chkprintcap/Makefile
+++ b/usr.sbin/lpr/chkprintcap/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 1998/03/07 09:47:55 bde Exp $
+# $Id: Makefile,v 1.4 1998/05/13 06:50:09 jb Exp $
PROG= chkprintcap
MAN8= chkprintcap.8
@@ -7,8 +7,4 @@ CFLAGS+=-I${.CURDIR}/../common_source -Wall
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
-.if ${MACHINE_ARCH} == "i386"
-CFLAGS+= -Werror
-.endif
-
.include <bsd.prog.mk>
diff --git a/usr.sbin/lpr/common_source/Makefile b/usr.sbin/lpr/common_source/Makefile
index 155a907..6e76588 100644
--- a/usr.sbin/lpr/common_source/Makefile
+++ b/usr.sbin/lpr/common_source/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 1997/12/02 20:45:17 wollman Exp $
+# $Id: Makefile,v 1.2 1998/05/13 06:49:19 jb Exp $
#
# Library of internal routines for the print spooler suite.
@@ -13,9 +13,6 @@ NOPROFILE= noprofile
NOPIC= nopic
CFLAGS+= -Wall -Wnested-externs -Wmissing-prototypes \
-Wstrict-prototypes -Wredundant-decls
-.if ${MACHINE_ARCH} == "i386"
-CFLAGS+= -Werror
-.endif
install:
diff --git a/usr.sbin/lpr/lpd/Makefile b/usr.sbin/lpr/lpd/Makefile
index 516c0a7..2152c4c 100644
--- a/usr.sbin/lpr/lpd/Makefile
+++ b/usr.sbin/lpr/lpd/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.6 1998/03/07 09:47:59 bde Exp $
+# $Id: Makefile,v 1.7 1998/05/13 06:48:18 jb Exp $
PROG= lpd
CFLAGS+=-I${.CURDIR}/../common_source -Wall
@@ -8,8 +8,4 @@ SRCS= lpd.c printjob.c recvjob.c lpdchar.c modes.c
DPADD= ${LIBLPR}
LDADD= ${LIBLPR}
-.if ${MACHINE_ARCH} == "i386"
-CFLAGS+= -Werror
-.endif
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud