1
0
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:
david
2008-09-16 04:25:39 +00:00
parent 2f44d6238a
commit f40f6e9549
3 changed files with 3 additions and 3 deletions

View File

@@ -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
View File

@@ -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=""

View File

@@ -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=""