mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
91fe30428d
git-svn-id: svn://kolibrios.org@8391 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
397 B
Lua
Executable File
11 lines
397 B
Lua
Executable File
if tup.getconfig("NO_GCC") ~= "" then return end
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
|
|
|
CFLAGS = CFLAGS .. " -Dasm=__asm__ -std=c99 -DGCC_BUILD"
|
|
LDFLAGS = LDFLAGS .. " --subsystem native"
|
|
|
|
compile_gcc{"tte.c", "notify.c", "getline.c"}
|
|
link_gcc("tte")
|