[PATCH libaio 03/14] build: Honor user build flags
authorGuillem Jover <guillem@hadrons.org>
Sun, 12 Apr 2020 02:01:27 +0000 (04:01 +0200)
committerGuillem Jover <guillem@debian.org>
Wed, 18 Jan 2023 00:35:12 +0000 (00:35 +0000)
commitc8245de48d3e9d768ebc325d0ba9533c8fed39ba
treedcb6b0f65c193e9d00bdf6cd0d773a1719a0f058
parentd2f24bd6c11fa403d1c5c44d7e6dc214674778ba
[PATCH libaio 03/14] build: Honor user build flags

CPPFLAGS, CFLAGS and LDFLAGS are user flags, which we need to preserve,
regardless of the user passing them over the environment or the
command-line. Any required flag that the build system needs, has to be
set in some other flag (which we will namespace with «MK_») so that the
build will use even if the user flags are passed, even though the user
should be able to override by appending after them. We pass CPPFLAGS to
any compilation command that missed them.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Gbp-Pq: Name 0003-build-Honor-user-build-flags.patch
harness/Makefile
src/Makefile