summaryrefslogtreecommitdiffstats
path: root/share/mk/sys.mk
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-03-20 18:25:50 +0000
committerru <ru@FreeBSD.org>2002-03-20 18:25:50 +0000
commit333c1d4d25cf8c0498e4324502d4ed90dcffd2e3 (patch)
tree203191190a1d45e1fe5ab202024032a4bae4048d /share/mk/sys.mk
parentf239d72864df9d8c684c4985d0266ae8e4e0c0b1 (diff)
downloadFreeBSD-src-333c1d4d25cf8c0498e4324502d4ed90dcffd2e3.zip
FreeBSD-src-333c1d4d25cf8c0498e4324502d4ed90dcffd2e3.tar.gz
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).
Diffstat (limited to 'share/mk/sys.mk')
-rw-r--r--share/mk/sys.mk2
1 files changed, 1 insertions, 1 deletions
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}
OpenPOWER on IntegriCloud