[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>
Tue, 19 Apr 2022 13:57:07 +0000 (14:57 +0100)
commit734b917c56cd1085784d7ceaf14d7dfeba1af7b0
tree5a912f71241c8119481c39ab6565981798ea5741
parente8629fa039ca71f4596e2eedd25a755bea3ecc6d
[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