[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>
Sun, 4 Dec 2022 17:06:09 +0000 (17:06 +0000)
commitb9d2a1268f828f391bc21169bc947c2a53b772d6
treedf2c9d143a7c4f0aea832d6f874c8f97bef9e2b3
parente40ab32bd74efcf984f7a05bdb52739766d7bc58
[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