Subversion Repositories Kolibri OS

Rev

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

Rev 5205 Rev 6550
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 -D__DYNAMIC_REENT__"
5
CFLAGS = CFLAGS .. " -UWIN32 -U_WIN32 -U__WIN32__ -DLUA_COMPAT_ALL -DLUA_ANSI"
6
compile_gcc{
6
compile_gcc{
7
  "lapi.c",
7
  "lapi.c",
8
  "lauxlib.c",
8
  "lauxlib.c",
9
  "lbaselib.c",
9
  "lbaselib.c",
10
  "lbitlib.c",
10
  "lbitlib.c",