Subversion Repositories Kolibri OS

Rev

Rev 8370 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8370 Rev 8371
Line 2... Line 2...
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR")
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
5
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
5
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
Line 6... Line 6...
6
 
6
 
7
LDFLAGS = "-call_shared -S -nostdlib -T$(NEWLIB_BASE)/app-dynamic.lds --image-base 0"
7
LDFLAGS = "-call_shared -S -nostdlib -T$(NEWLIB_BASE)/app-dynamic.lds --image-base 0 -L$(NEWLIB_LIB)"
8
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native"
8
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc --subsystem native"
9
compile_gcc{
9
compile_gcc{
10
  "lapi.c",
10
  "lapi.c",
11
  "lauxlib.c",
11
  "lauxlib.c",