test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty
commit4c77028718afc79082c2a07e881db646aa7028fd
authorNicolas Boulenguez <nicolas@debian.org>
Tue, 9 Apr 2024 22:41:42 +0000 (10 00:41 +0200)
committerGuillem Jover <guillem@debian.org>
Mon, 6 May 2024 08:02:04 +0000 (6 10:02 +0200)
tree485492204c3c10647b1fdb18cc8eaeb379a1e544
parentce5c5af1678760adf23fc0fcb2aa49fe88767a38
test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty

When TEST_CPPFLAGS is empty, the right hand side of the comparison
starts with a space character. Append to the variable with += so that we
do not need to care whether the TEST_ variables were previously set or
not.

Signed-off-by: Guillem Jover <guillem@debian.org>
scripts/t/mk/buildflags.mk