Make -Werror i386 specific because -nostinc on alpha spits warnings
for unused static inline functions in header files.
This commit is contained in:
parent
1d1099369a
commit
84cc0c31af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=35997
@ -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>
|
||||
|
@ -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:
|
||||
|
||||
|
@ -1,11 +1,15 @@
|
||||
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $Id: Makefile,v 1.5 1997/12/16 17:53:25 bde Exp $
|
||||
# $Id: Makefile,v 1.6 1998/03/07 09:47:59 bde Exp $
|
||||
|
||||
PROG= lpd
|
||||
CFLAGS+=-I${.CURDIR}/../common_source -Wall -Werror
|
||||
CFLAGS+=-I${.CURDIR}/../common_source -Wall
|
||||
MAN8= lpd.8
|
||||
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