Module Name: src
Committed By: rillig
Date: Thu Oct 31 21:53:40 UTC 2024
Modified Files:
src/share/mk: bsd.lib.mk
Log Message:
bsd.lib.mk: in 'lint' target, don't list defined but unused symbols
When building a library, it is common that there are many symbols that
are defined but not used, as that's exactly the point of a library.
When running the 'lint' target manually, don't complain about these
symbols, by creating a "dummy" library. That dummy library is not
installed anywhere.
For libxcb, the output shrinks from more than 3000 lines down to 5.
To generate a diff of this commit:
cvs rdiff -u -r1.408 -r1.409 src/share/mk/bsd.lib.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.