Skip to content

Commit

Permalink
Make sure configured CFLAGS and LDFLAGS are used to build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
salcock committed May 8, 2024
1 parent f26d8ee commit d7497e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/Makefile.tools
Original file line number Diff line number Diff line change
@@ -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@

0 comments on commit d7497e4

Please sign in to comment.