BUILD: makefile: start to automatically collect CFLAGS/LDFLAGS
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2022 17:24:46 +0000 (18:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
commitea3e67f8918299451cc25698dfcd411c05d8a4ef
tree5f54d1d05950a090b208e7b77acfd014ad8c7c68
parent8fa2f49f244c37960f0ebd5fb0b9518e4dd91f0a
BUILD: makefile: start to automatically collect CFLAGS/LDFLAGS

Now OPTIONS_CFLAGS and OPTIONS_LDFLAGS don't need to be set anymore
for options USE_xxx that set xxx_CFLAGS or xxx_LDFLAGS. These ones
will be automatically connected.

The only entry for now that was ready for this was PCRE2, so it was
adjusted so as not to append to OPTIONS_LDFLAGS anymore. More will
come later.
Makefile