On 08/05/2021 20:43, Ondřej Surý wrote:
Emilio,
could you please post this to the upstream gitLab.isc.org? Ping me when you
create the account, I will have to bump the project limit, so you can fork.
I would be happy to merge this upstream.
Thanks! Can you apply the attached patch? I'd prefer to not create that extra
account if I don't have to, but if it's somehow required then I can do it.
Fortunately, I’ve already changed the build system to use automake in the
development branch, but it was quite an effort, so I didn’t make it in time for
9.16, but the next stable (9.18) will be pretty standard.
Nice!
Cheers,
Emilio
>From 6748327732af53ee2dd6660a34bac5f15f73f812 Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <[email protected]>
Date: Tue, 8 Jun 2021 12:16:41 +0200
Subject: [PATCH] Honor CPPFLAGS
---
make/rules.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/make/rules.in b/make/rules.in
index 5dd9130062..ac214fba17 100644
--- a/make/rules.in
+++ b/make/rules.in
@@ -105,6 +105,7 @@ install uninstall clean distclean maintainer-clean doc docclean man manclean::
CC = @CC@
CFLAGS = @CFLAGS@
+CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
STD_CINCLUDES = @STD_CINCLUDES@
STD_CDEFINES = @STD_CDEFINES@
@@ -160,7 +161,7 @@ ALWAYS_DEFINES = @ALWAYS_DEFINES@
ALWAYS_WARNINGS =
ALL_CPPFLAGS = \
- ${ALWAYS_INCLUDES} ${CINCLUDES} ${STD_CINCLUDES} \
+ ${CPPFLAGS} ${ALWAYS_INCLUDES} ${CINCLUDES} ${STD_CINCLUDES} \
${ALWAYS_DEFINES} ${CDEFINES} ${STD_CDEFINES}
ALL_CFLAGS = ${EXT_CFLAGS} ${ALL_CPPFLAGS} ${CFLAGS} \
--
2.30.2