]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unbreak "make lint" for programs and "make llib-l${LIB}.ln" for
authorBruce Evans <bde@FreeBSD.org>
Mon, 3 Dec 2001 22:31:09 +0000 (22:31 +0000)
committerBruce Evans <bde@FreeBSD.org>
Mon, 3 Dec 2001 22:31:09 +0000 (22:31 +0000)
commit08b443022e01b95bc56afb69ed00c3bfc9e631ad
tree849070bf534e9f304aaa80c8a1c7144731d274ed
parent9d26129dba9f6fdc5920ab55aefbfb1a989dbb34
Unbreak "make lint" for programs and "make  llib-l${LIB}.ln" for
libraries a little by not passing all of ${CFLAGS} to lint.  Pass
only options matching -[DIU]*.  The important -nostdinc option can't
be passed like I first thought because lint misinterprets as
"-n -o stdinc".  The unimportant -B* option can't be passed because
lint doesn't support it.  Otherwise, we pass the same options as
to mkdep, exept for a bug in the latter: -U* is not passed.  All
this depends on option args not being separated from option flags
by a space.
share/mk/bsd.lib.mk
share/mk/bsd.prog.mk