If HAVE_GCC3 is set, force MKLINT to "no", since GCC 3.x's C pre-processor

does not yet support our lint(1).
This commit is contained in:
thorpej 2002-01-01 01:44:29 +00:00
parent d68ee9d8e3
commit 4c0be6ef79
2 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.README,v 1.88 2002/01/01 01:38:25 thorpej Exp $
# $NetBSD: bsd.README,v 1.89 2002/01/01 01:44:29 thorpej Exp $
# @(#)bsd.README 8.2 (Berkeley) 4/2/94
This is the README file for the new make "include" files for the BSD
@ -201,6 +201,10 @@ BINOWN Binary owner. [root]
BINMODE Binary mode. [555]
HAVE_GCC3 If defined, causes <bsd.own.mk> to set MKLINT to "no",
since GCC 3.x's C pre-processor lacks the necessary
support for NetBSD's lint(1).
NONBINMODE Mode for non-executable files. [444]
MANDIR Base path for manual installation. [/usr/share/man/cat]

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.244 2002/01/01 01:17:32 thorpej Exp $
# $NetBSD: bsd.own.mk,v 1.245 2002/01/01 01:44:29 thorpej Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@ -412,4 +412,10 @@ MKGDB:= no
MKGCC:= no
.endif
# For now, if we're using GCC 3.x, we cannot built lint libraries
# (GCC 3.x's C pre-processor lacks the necessary support).
.if defined(HAVE_GCC3)
MKLINT:= no
.endif
.endif # _BSD_OWN_MK_