Subversion Repositories Kolibri OS

Rev

Rev 6551 | Rev 8368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6551 Rev 6552
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
LDFLAGS = LDFLAGS .. " --disable-runtime-pseudo-reloc"
7
compile_gcc{
7
compile_gcc{
8
  "lapi.c",
8
  "lapi.c",
9
  "lauxlib.c",
9
  "lauxlib.c",
10
  "lbaselib.c",
10
  "lbaselib.c",
11
  "lbitlib.c",
11
  "lbitlib.c",