macOS.370 Lua
This commit is contained in:
@@ -209,9 +209,8 @@ endif # WANT_LIBNH
|
|||||||
# when building liblua.a, avoid warning that use of tmpnam() should be
|
# when building liblua.a, avoid warning that use of tmpnam() should be
|
||||||
# replaced by mkstemp(); the lua code doesn't use nethack's config.h so
|
# replaced by mkstemp(); the lua code doesn't use nethack's config.h so
|
||||||
# this needs to be passed via make rather than defined in unixconf.h
|
# this needs to be passed via make rather than defined in unixconf.h
|
||||||
SYSCFLAGS=-DLUA_USE_MACOSX
|
|
||||||
ifdef GITSUBMODULES
|
ifdef GITSUBMODULES
|
||||||
LUAFLAGS=CC='$(CC)' SYSCFLAGS='$(SYSCFLAGS)'
|
LUAFLAGS=CC='$(CC)' MYCFLAGS=' -DLUA_USE_MACOSX'
|
||||||
ifneq "$(CCISCLANG)" ""
|
ifneq "$(CCISCLANG)" ""
|
||||||
# clang
|
# clang
|
||||||
LUAFLAGS +=CWARNGCC=''
|
LUAFLAGS +=CWARNGCC=''
|
||||||
|
|||||||
Reference in New Issue
Block a user