Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Remove the "MKLINT=no if HAVE_GCC3" hack; a patch t...
details: https://anonhg.NetBSD.org/src/rev/c067715d2045
branches: trunk
changeset: 520102:c067715d2045
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jan 02 23:48:19 2002 +0000
description:
Remove the "MKLINT=no if HAVE_GCC3" hack; a patch to support lint
comments has been submitted to the GCC maintainers, so if you're
using a GCC 3.x that doesn't support lint, set MKLINT=no in mk.conf.
diffstat:
share/mk/bsd.README | 6 +-----
share/mk/bsd.own.mk | 8 +-------
2 files changed, 2 insertions(+), 12 deletions(-)
diffs (40 lines):
diff -r 3ecd6d12a24b -r c067715d2045 share/mk/bsd.README
--- a/share/mk/bsd.README Wed Jan 02 22:44:44 2002 +0000
+++ b/share/mk/bsd.README Wed Jan 02 23:48:19 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.README,v 1.89 2002/01/01 01:44:29 thorpej Exp $
+# $NetBSD: bsd.README,v 1.90 2002/01/02 23:48:19 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,10 +201,6 @@
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]
diff -r 3ecd6d12a24b -r c067715d2045 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Wed Jan 02 22:44:44 2002 +0000
+++ b/share/mk/bsd.own.mk Wed Jan 02 23:48:19 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.245 2002/01/01 01:44:29 thorpej Exp $
+# $NetBSD: bsd.own.mk,v 1.246 2002/01/02 23:48:20 thorpej Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@@ -412,10 +412,4 @@
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_
Home |
Main Index |
Thread Index |
Old Index