]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: extract -Werror/-Wfatal-errors from automatic CFLAGS
authorWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 13:20:46 +0000 (15:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 15:33:28 +0000 (17:33 +0200)
commitaf5755675d5f1454151baf1da8d908fee8999f43
tree578a8097974d604b58c8bcb8dea2238add7e8bdb
parentfc27ed9f180179c68cff081241a2ba212dad5623
BUILD: makefile: extract -Werror/-Wfatal-errors from automatic CFLAGS

The compiler-specific CFLAGS that are automatically detected (SPEC_CFLAGS)
are currently the ones affected by ERR and FAILFAST. Not only this makes
these options useless as soon as SPEC_CFLAGS is forced, but it also means
that any change to them causes a rebuild, so disabling FAILFAST or
enabling ERR to get more info on a faulty object causes a full rebuild
of all others. Let's just move them to ERROR_CFLAGS that only contains
these two.  It's not documented outside of the makefile because it's not
supposed to be touched.
Makefile