From 333c1d4d25cf8c0498e4324502d4ed90dcffd2e3 Mon Sep 17 00:00:00 2001 From: ru Date: Wed, 20 Mar 2002 18:25:50 +0000 Subject: Make lint(1) a cross-tool. (See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong with enabling build of lint libraries in rev. 1.12.) This fixes cross-arch compiles (running binaries for a different arch when generating lint.7 and lint libraries) and cross-branch compiles (4.x -> 5.0 buildworld should be working again). --- share/mk/sys.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mk/sys.mk') diff --git a/share/mk/sys.mk b/share/mk/sys.mk index d804c90..89ef00c 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -76,7 +76,7 @@ LD ?= ld LDFLAGS ?= LINT ?= lint -LINTFLAGS ?= -cghapbx -L /usr/libdata/lint +LINTFLAGS ?= -cghapbx LINTKERNFLAGS ?= ${LINTFLAGS} LINTOBJFLAGS ?= -cghapbxu -i LINTLIBFLAGS ?= -cghapbxu -C ${LIB} -- cgit v1.1