]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: validate support for extra warnings by batches
authorWilly Tarreau <w@1wt.eu>
Mon, 31 Jan 2022 14:10:14 +0000 (15:10 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 31 Jan 2022 20:00:35 +0000 (21:00 +0100)
commitd521b8b61f3a94cde93ab4213f39435b64cf312f
treec41aa53b68c548cd59e767fcaaee180660605442
parent7a1e6fe128d6276516bf4ec3a4ce05c16f9dc16d
BUILD: makefile: validate support for extra warnings by batches

The makefile takes quite some time to check supported warning options
and that's getting quite annoying. Most of the time all the tested ones
are quite legacy and well supported, so let's first try to validate
them all at once, and only if they fail, test them individually.

Doing so reduces the number of calls to the compiler to ~4 during the
startup, which is much better.
Makefile