[PATCH libaio 03/16] 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, 6 Aug 2023 19:12:34 +0000 (20:12 +0100)
commitac42e5b0279b33ba883aa1ce7823e6ee7c97ad78
treef0d91d5a8a0917c11420eec5ae9c76ed0c4b4f7a
parent443a13df3e64382d03dfbb38417d391ed12edd49
[PATCH libaio 03/16] 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