haproxy/.github/workflows
Willy Tarreau 88c151f9ca BUILD: makefile: drop the ARCH variable and better document ARCH_FLAGS
ARCH_FLAGS was always present and is documented as being fed to both
CC and LD during the build. This is meant for options that need to be
consistent between the two stages such as -pg, -flto, -fsanitize=address,
-m64, -g etc. Its doc was lacking a bit of clarity though, and it was
not enumerated in the makefile's variables list.

ARCH however was only documented as affecting ARCH_FLAGS, and was just
never used as the only two really usable and supported ARCH_FLAGS options
were -m32 and -m64. In addition it was even written in the makefile that
it was CPU that was affecting the ARCH_FLAGS. Let's just drop ARCH and
improve the documentation on ARCH_FLAGS. Again, if ARCH is set, a warning
is emitted explaining how to proceed.

ARCH_FLAGS is now preset to -g so that we finally have a correct place
to deal with such debugging options that need to be passed to both
stages. The fedora and musl CI workflows were updated to also use it
instead of sticking to duplicate DEBUG_CFLAGS+LDFLAGS.

It's also worth noting that BUILD_ARCH was being passed to the build
process and never used anywhere in the code, so its removal will not
be noticed.
2024-04-11 17:33:28 +02:00
..
aws-lc.yml CI: update the build options to get rid of unneeded DEBUG options 2024-04-11 17:25:45 +02:00
codespell.yml Revert "CI: enable spell check on git push" 2024-01-26 19:58:14 +01:00
compliance.yml CI: update the build options to get rid of unneeded DEBUG options 2024-04-11 17:25:45 +02:00
contrib.yml CI: Update to actions/checkout@v4 2023-09-06 17:46:02 +02:00
coverity.yml CI: Update to actions/checkout@v4 2023-09-06 17:46:02 +02:00
cross-zoo.yml CI: skip scheduled builds on forks 2024-03-05 11:50:34 +01:00
fedora-rawhide.yml BUILD: makefile: drop the ARCH variable and better document ARCH_FLAGS 2024-04-11 17:33:28 +02:00
musl.yml BUILD: makefile: drop the ARCH variable and better document ARCH_FLAGS 2024-04-11 17:33:28 +02:00
netbsd.yml CI: enable monthly build only test on netbsd-9.3 2024-03-05 11:50:34 +01:00
openssl-nodeprecated.yml CI: Update to actions/checkout@v4 2023-09-06 17:46:02 +02:00
vtest.yml CI: update the build options to get rid of unneeded DEBUG options 2024-04-11 17:25:45 +02:00
windows.yml CI: update the build options to get rid of unneeded DEBUG options 2024-04-11 17:25:45 +02:00