mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Don't use CXXFLAGS when making makefile.dep, because that doesn't work with
universal binaries. Instead, put -DNOLUA in CPPFLAGS.
This commit is contained in:
parent
2f44d6238a
commit
f40f6e9549
3 changed files with 3 additions and 3 deletions
|
|
@ -272,5 +272,5 @@ config.status: configure
|
|||
./config.status --recheck
|
||||
|
||||
makefile.dep:
|
||||
$(CXX) -MM $(CPPFLAGS) $(CXXFLAGS) $(SRCS) > $@
|
||||
$(CXX) -MM $(CPPFLAGS) $(SRCS) > $@
|
||||
include makefile.dep
|
||||
|
|
|
|||
2
configure
vendored
2
configure
vendored
|
|
@ -7453,7 +7453,7 @@ fi
|
|||
|
||||
# They don't want lua
|
||||
if test "$no_lua" = "yes"; then
|
||||
CXXFLAGS="-DNOLUA $CXXFLAGS"
|
||||
CPPFLAGS="-DNOLUA $CPPFLAGS"
|
||||
LIBLUA_LIBS=""
|
||||
LUA_DEPENDS=""
|
||||
LUA_BUILD=""
|
||||
|
|
|
|||
|
|
@ -537,7 +537,7 @@ AC_HELP_STRING([--without-liblua], [Compile without lua (this will exclude all o
|
|||
|
||||
# They don't want lua
|
||||
if test "$no_lua" = "yes"; then
|
||||
CXXFLAGS="-DNOLUA $CXXFLAGS"
|
||||
CPPFLAGS="-DNOLUA $CPPFLAGS"
|
||||
LIBLUA_LIBS=""
|
||||
LUA_DEPENDS=""
|
||||
LUA_BUILD=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue