git-svn-id: svn://kolibrios.org@8371 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-11 17:32:59 +00:00
parent 0b189b67d5
commit 8a2618b319

View File

@ -4,7 +4,7 @@ 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 = "-call_shared -S -nostdlib -T$(NEWLIB_BASE)/app-dynamic.lds --image-base 0"
LDFLAGS = "-call_shared -S -nostdlib -T$(NEWLIB_BASE)/app-dynamic.lds --image-base 0 -L$(NEWLIB_LIB)"
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native"
compile_gcc{
"lapi.c",