mirror of
https://github.com/nmap/nmap.git
synced 2025-12-22 15:39:03 +00:00
Don't use CXXFLAGS when building makefile.dep. CXXFLAGS contains "-arch ppc
-arch i386" when building a universal binary on Mac OS X, and you can't generate dependencies while using those flags. Include directories were previously moved to CPPFLAGS so the right dependencies are still found.
This commit is contained in:
@@ -260,5 +260,5 @@ config.status: configure
|
||||
./config.status --recheck
|
||||
|
||||
makefile.dep:
|
||||
$(CXX) -MM $(CXXFLAGS) $(CPPFLAGS) $(SRCS) > $@
|
||||
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
|
||||
include makefile.dep
|
||||
|
||||
Reference in New Issue
Block a user