]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: move -O2 from CPU_CFLAGS to OPT_CFLAGS
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Apr 2024 14:26:34 +0000 (16:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Apr 2024 15:25:45 +0000 (17:25 +0200)
commit8194499bec418fd4413f15497bfa8f3cc0ae8f90
treefdcfe1bf42126181196aa7dd6a7709dac11d8a62
parent97725dd136a9cd8d527d59c11757f7ffeee883ce
BUILD: makefile: move -O2 from CPU_CFLAGS to OPT_CFLAGS

CPU_CFLAGS is meant to set the CPU-specific options (-mcpu, -march etc).
The fact that it also includes the optimization level is annoying because
one cannot be set without replacing the other. Let's move the optimization
level to a new independent OPT_CFLAGS that is added early to the list, so
that other CFLAGS (including CPU_CFLAGS) can continue to override it if
necessary.
.github/matrix.py
INSTALL
Makefile