From d7497e435a23d1de0c3ae1bfe0b6b90faf008a79 Mon Sep 17 00:00:00 2001 From: Shane Alcock Date: Thu, 9 May 2024 11:36:13 +1200 Subject: [PATCH] Make sure configured CFLAGS and LDFLAGS are used to build tools --- tools/Makefile.tools | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/Makefile.tools b/tools/Makefile.tools index 693c984ce..ef9ca551d 100644 --- a/tools/Makefile.tools +++ b/tools/Makefile.tools @@ -1,6 +1,6 @@ -AM_CFLAGS=-I"$(top_srcdir)/lib" -I"$(top_srcdir)/libpacketdump" -AM_CXXFLAGS=-I"$(top_srcdir)/lib" -I"$(top_srcdir)/libpacketdump" +AM_CFLAGS=-I"$(top_srcdir)/lib" -I"$(top_srcdir)/libpacketdump" $(CFLAGS) +AM_CXXFLAGS=-I"$(top_srcdir)/lib" -I"$(top_srcdir)/libpacketdump" $(CPPFLAGS) AM_LDFLAGS=-L"$(top_srcdir)/lib" -L"$(top_srcdir)/libpacketdump" \ - -ltrace @TOOLS_LIBS@ + $(LDFLAGS) -ltrace @TOOLS_LIBS@