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.
This commit is contained in:
parent
abf0f067cf
commit
0793ce314a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36881
@ -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>
|
||||
|
@ -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:
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user