mirror of
https://github.com/nmap/nmap.git
synced 2026-10-10 07:15:12 +00:00
Move $(DEFS) from CXXFLAGS to CPPFLAGS. This is to get -DHAVE_CONFIG_H into the
flags when making makefile.dep. Without this, making makefile.dep fails on OpenSlaris because it can't find <pcre.h>. With HAVE_CONFIG_H it knows to look in <pcre/pcre.h>.
This commit is contained in:
parent
ea1e95aea6
commit
73fbf15ef5
1 changed files with 2 additions and 2 deletions
|
|
@ -40,8 +40,8 @@ DEFS += -D_FORTIFY_SOURCE=2
|
|||
# For mtrace debugging -- see MTRACE define in main.cc for instructions
|
||||
# Should only be enabled during debugging and not in any real release.
|
||||
# DEFS += -DMTRACE=1
|
||||
CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT) $(DEFS)
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@ $(DBGFLAGS) $(CCOPT)
|
||||
CPPFLAGS = @CPPFLAGS@ $(DEFS)
|
||||
export CFLAGS = $(CXXFLAGS)
|
||||
# CFLAGS = $(DEFS) $(INCLS)
|
||||
STATIC =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue