mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 12:59:02 +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:
@@ -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=""
|
||||
|
||||
Reference in New Issue
Block a user