Module Name:    src
Committed By:   rillig
Date:           Sun Aug 22 14:35:44 UTC 2021

Modified Files:
        src/usr.bin/xlint/xlint: Makefile

Log Message:
lint: make xlint independent of lint1

The files from lint1 are not needed to build xlint, even worse, they get
mixed up wrongly.

$ (cd usr.bin/xlint && make cleandir)
$ (cd usr.bin/xlint/lint1 && make lint -k)
$ (cd usr.bin/xlint/xlint && make lint)

lint2: cannot open mem.ln: No such file or directory

The 'make -k' for lint1 is necessary because lint tries to validate
scan.c in strict bool mode, but the output from lex is not ready for
that.  This only happens in my local builds but not in the official
builds on releng.NetBSD.org, I'm still researching that difference.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.bin/xlint/xlint/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to