forked from KolibriOS/kolibrios
Fix LUA
git-svn-id: svn://kolibrios.org@8369 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
20ecdca01e
commit
31692e78f0
@ -3,6 +3,8 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.ge
|
|||||||
tup.include(HELPERDIR .. "/use_gcc.lua")
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
|
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
|
||||||
|
|
||||||
|
LDFLAGS = "-call_shared -S -nostdlib -T$(NEWLIB_BASE)/sources/newlib/app-dynamic.lds --image-base 0"
|
||||||
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native"
|
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native"
|
||||||
compile_gcc{
|
compile_gcc{
|
||||||
"lapi.c",
|
"lapi.c",
|
||||||
|
Loading…
Reference in New Issue
Block a user