]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix the remaining cases of <prog>_CFLAGS -> <prog>_CPPFLAGS
authorOndřej Surý <ondrej@isc.org>
Sun, 13 Mar 2022 16:42:09 +0000 (17:42 +0100)
committerOndřej Surý <ondrej@isc.org>
Sun, 13 Mar 2022 16:42:09 +0000 (17:42 +0100)
Building BIND 9 with older version of BIND 9 installed would result in
build failure.  Fix the last two remaining cases where <prog>_CFLAGS was
being used leading to wrong order of the build flags on the command line.

bin/tools/Makefile.am
doc/misc/Makefile.am

index 04072560dc6a11690093d7dcc4fb8475bcdbe3fc..d7b8e4a3317fccb59053615ec27de02db6c1be5d 100644 (file)
@@ -47,7 +47,7 @@ if HAVE_LMDB
 bin_PROGRAMS +=                        \
        named-nzd2nzf
 
-named_nzd2nzf_CFLAGS =         \
+named_nzd2nzf_CPPFLAGS =               \
        $(AM_CPPFLAGS)          \
        $(LMDB_CFLAGS)
 
index 4b88580b1200dcd5105c5e79c46b583ecaaad3b7..7481632e96f31cc4fcc8bf2b700aae8ffad29be5 100644 (file)
@@ -55,8 +55,8 @@ MAINTAINERCLEANFILES = $(OPTIONS_FILES)
 
 noinst_PROGRAMS = cfg_test
 
-cfg_test_CFLAGS =                      \
-       $(AM_CFLAGS)                    \
+cfg_test_CPPFLAGS =                    \
+       $(AM_CPPFLAGS)                  \
        $(LIBISC_CFLAGS)                \
        $(LIBDNS_CFLAGS)                \
        $(LIBISCCFG_CFLAGS)