diff options
author | John Birrell <jb@FreeBSD.org> | 1998-05-13 06:50:09 +0000 |
---|---|---|
committer | John Birrell <jb@FreeBSD.org> | 1998-05-13 06:50:09 +0000 |
commit | 84cc0c31af3a698aeb31919d7c40e5de8904fab2 (patch) | |
tree | 292c1380e03e28ec438677fe01a7a20d66383c08 /usr.sbin/lpr/chkprintcap | |
parent | 1d1099369a8310f874038c2797b422392ef727f0 (diff) | |
download | src-84cc0c31af3a698aeb31919d7c40e5de8904fab2.tar.gz src-84cc0c31af3a698aeb31919d7c40e5de8904fab2.zip |
Make -Werror i386 specific because -nostinc on alpha spits warnings
for unused static inline functions in header files.
Notes
Notes:
svn path=/head/; revision=35997
Diffstat (limited to 'usr.sbin/lpr/chkprintcap')
-rw-r--r-- | usr.sbin/lpr/chkprintcap/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/lpr/chkprintcap/Makefile b/usr.sbin/lpr/chkprintcap/Makefile index 1cbabbfa65ed..dd8d8e64bc23 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> |