diff --git a/contrib/other/lua-5.2.0/Tupfile.lua b/contrib/other/lua-5.2.0/Tupfile.lua index 93d3104ade..1101431898 100644 --- a/contrib/other/lua-5.2.0/Tupfile.lua +++ b/contrib/other/lua-5.2.0/Tupfile.lua @@ -3,7 +3,7 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.ge tup.include(HELPERDIR .. "/use_gcc.lua") tup.include(HELPERDIR .. "/use_newlib.lua") CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI" -LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc" +LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native" compile_gcc{ "lapi.c", "lauxlib.c",