From 769ab0606db6d2b7682d50c727626e3b1acb5c1b Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 18 Sep 2021 12:32:41 +0800 Subject: improve compile --- core/src/lua/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/src/lua/makefile') diff --git a/core/src/lua/makefile b/core/src/lua/makefile index 85e8725cf..4137fd22c 100644 --- a/core/src/lua/makefile +++ b/core/src/lua/makefile @@ -62,14 +62,14 @@ ifeq ($(PLAT),cygwin) iswin = yes endif -lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 \ - -Wno-error=string-plus-int +lua_CFLAGS := -std=c99 -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 ifdef iswin lua_CFLAGS += -DLUA_USE_WINDOWS endif ifeq ($(PLAT),macosx) -lua_CFLAGS += -DLUA_USE_MACOSX +lua_CFLAGS += -DLUA_USE_MACOSX \ + -Wno-error=string-plus-int else lua_CFLAGS += -DLUA_USE_LINUX endif -- cgit v1.3.1