mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-12 18:07:06 +03:00
d800abd154
git-svn-id: svn://kolibrios.org@6829 a494cfbc-eb01-0410-851d-a64ba20cac60
9 lines
395 B
Lua
9 lines
395 B
Lua
if tup.getconfig("NO_GCC") ~= "" or tup.getconfig("NO_FASM") ~= "" 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 = "-U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
|
|
compile_gcc{"tcc.c"}
|
|
compile_gcc{"libtcc.c"}
|
|
link_gcc("tcc")
|