mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-28 11:43:09 +03:00
ba2b0659ac
git-svn-id: svn://kolibrios.org@5203 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
472 B
Lua
13 lines
472 B
Lua
if tup.getconfig("NO_GCC") ~= "" then return end
|
|
if tup.getconfig("HELPERDIR") == ""
|
|
then
|
|
if tup.getconfig("NO_NASM") ~= "" then return end -- required for SDL compilation
|
|
HELPERDIR = "../../../programs"
|
|
end
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
|
|
tup.include(HELPERDIR .. "/use_sdl.lua")
|
|
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -std=c99 -U_WIN32 -fwhole-program"
|
|
compile_gcc{"8086tiny.c"}
|
|
link_gcc("8086tiny")
|