Subversion Repositories Kolibri OS

Rev

Rev 5203 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5203 clevermous 1
if tup.getconfig("NO_GCC") ~= "" then return end
2
if tup.getconfig("HELPERDIR") == ""
3
then
4
  if tup.getconfig("NO_NASM") ~= "" then return end -- required for SDL compilation
5
  HELPERDIR = "../../../programs"
6
end
7
tup.include(HELPERDIR .. "/use_gcc.lua")
8523 maxcodehac 8
tup.include(HELPERDIR .. "/use_newlib.lua")
9
tup.include(HELPERDIR .. "/use_sdl_newlib.lua")
5203 clevermous 10
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -std=c99 -U_WIN32 -fwhole-program"
11
compile_gcc{"8086tiny.c"}
12
link_gcc("8086tiny")