]> arthur.barton.de Git - bup.git/commit
Respect/prefer/remember user specified CPPFLAGS/CFLAGS/LDFLAGS
authorRob Browning <rlb@defaultvalue.org>
Sun, 22 May 2022 17:20:10 +0000 (12:20 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 25 Jun 2022 18:26:11 +0000 (13:26 -0500)
commit571e384c8e0e0e434fc6b8c1db1ede2c419094ab
treed7100028143b3e00841d1c103c98e503397f81c5
parent0be19f58f5c0709ced52669ebccd069c8f79e533
Respect/prefer/remember user specified CPPFLAGS/CFLAGS/LDFLAGS

While we remembered a configure-time CC, we didn't do the same for
other common user specified build variables, i.e. CPPFLAGS, CFLAGS,
and LDFLAGS.  Fix that, and arrange for the user's values to come
last so that they can override the configuration values.

This matches expectations established by other tools, in particular
autoconf/automake, and avoids having to remember to specify overrides
to every invocation of make.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile
README.md
config/config.vars.in