]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: get rid of the config CFLAGS variable
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Apr 2024 07:36:48 +0000 (09:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 15:25:45 +0000 (17:25 +0200)
commitc42fca1db27f3b79fa0b52869c3eb94104a82561
tree8b1b0687766bb93707846b99250190c69431f938
parent6b6a6ad4318531f3155b523d33ddb054fceff56f
BUILD: makefile: get rid of the config CFLAGS variable

CFLAGS currently is a concatenation of 4 other variables, some of which
are dynamically determined. This has long been totally unusable to pass
any extra option. Let's just get rid of it and pass the 4 variables at
the 3 only places CFLAGS was used. This will later allow us to make
CFLAGS something really usable.

This also has the benefit of implicitly restoring the build on AIX5
which needs to disable DEBUG_CFLAGS to solve symbol issues when built
with -g. Indeed, that one got ignored since the targets moved past the
CFLAGS definition which collects DEBUG_CFLAGS.
Makefile