]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r306729: makeman: avoid bogus output with duplicated options
authoremaste <emaste@FreeBSD.org>
Wed, 10 Oct 2018 13:06:31 +0000 (13:06 +0000)
committeremaste <emaste@FreeBSD.org>
Wed, 10 Oct 2018 13:06:31 +0000 (13:06 +0000)
commit6b8ea27d230f686535c8bdb88c0d2053876ab3af
treec64db58926e1eb3ba8231d26b3d4829e3ea1a664
parent4de0836180159ccb2485c64e4639544254abd941
MFC r306729: makeman: avoid bogus output with duplicated options

On some targets 'make showconfig' currently reports both 'no' and 'yes'
for some options. For example:

% make TARGET=mips showconfig | grep SSP
MK_SSP           = no
MK_SSP           = yes

Emit a warning on encountering a duplicated variable, and skip the
second entry.

PR: 226908, 229514
Sponsored by: The FreeBSD Foundation
tools/build/options/makeman