summaryrefslogtreecommitdiff
blob: 91caad1a673460a3278c35e632dd5ec66bf05f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile.in
+++ b/Makefile.in
@@ -477,7 +477,7 @@
 	./docs/style/lua-format -i scripts/*.nse
 
 makefile.dep:
-	$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
+	$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(SRCS) > $@
 -include makefile.dep
 
 # These the old names of scripts that have been renamed or deleted. Any