summaryrefslogtreecommitdiff
blob: 41c875453926bf897749813e776da19aff83446a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
https://github.com/jaymzh/iptstate/pull/21

From: Sam James <sam@gentoo.org>
Date: Fri, 10 Dec 2021 03:10:49 +0000
Subject: [PATCH 1/2] Makefile: respect LDFLAGS

Signed-off-by: Sam James <sam@gentoo.org>
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ iptstate: iptstate.cc Makefile
 	echo "+------------------------------------------------------------+" ;\
 	echo "";
 
-	$(CXX) $(CXXFLAGS) $(CXXFILES) -o iptstate $(LIBS) $(CPPFLAGS)
+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(CXXFILES) -o iptstate $(LIBS)
 	@touch iptstate
 
 	@\