2,9 → 2,7 |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR") |
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 -L$(NEWLIB_LIB)" |
CFLAGS = "-fno-ident -O2 -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -DLUA_COMPAT_ALL -DLUA_ANSI" |
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native" |
compile_gcc{ |
"lapi.c", |