Subversion Repositories Kolibri OS

Rev

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

Rev 6550 Rev 6551
Line 1... Line 1...
1
if tup.getconfig("NO_GCC") ~= "" then return end
1
if tup.getconfig("NO_GCC") ~= "" then return end
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"
-
 
6
LDFLAGS = LDFLAGS .. "--disable-runtime-pseudo-reloc"
6
compile_gcc{
7
compile_gcc{
7
  "lapi.c",
8
  "lapi.c",
8
  "lauxlib.c",
9
  "lauxlib.c",
9
  "lbaselib.c",
10
  "lbaselib.c",
10
  "lbitlib.c",
11
  "lbitlib.c",