]> granicus.if.org Git - nethack/commitdiff
macOS.370 Lua
authornhmall <nhmall@nethack.org>
Fri, 4 Feb 2022 23:55:12 +0000 (18:55 -0500)
committernhmall <nhmall@nethack.org>
Fri, 4 Feb 2022 23:55:12 +0000 (18:55 -0500)
sys/unix/hints/macOS.370

index f6b8f4dc2db0925c87c17ea96f86e79303431790..e26aa28dd669c1206d24912e0e6b078c370f95dc 100755 (executable)
@@ -209,9 +209,8 @@ endif  # WANT_LIBNH
 # 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
 # this needs to be passed via make rather than defined in unixconf.h
-SYSCFLAGS=-DLUA_USE_MACOSX
 ifdef GITSUBMODULES
-LUAFLAGS=CC='$(CC)' SYSCFLAGS='$(SYSCFLAGS)'
+LUAFLAGS=CC='$(CC)' MYCFLAGS=' -DLUA_USE_MACOSX'
 ifneq "$(CCISCLANG)" ""
 # clang
 LUAFLAGS +=CWARNGCC=''