From d800abd15451cffe909dc026835937a687049745 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Thu, 19 Jan 2017 02:34:41 +0000 Subject: [PATCH] Add ktcc to autobuild git-svn-id: svn://kolibrios.org@6829 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/ktcc/trunk/source/Tupfile.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 programs/develop/ktcc/trunk/source/Tupfile.lua diff --git a/programs/develop/ktcc/trunk/source/Tupfile.lua b/programs/develop/ktcc/trunk/source/Tupfile.lua new file mode 100644 index 0000000000..424e669551 --- /dev/null +++ b/programs/develop/ktcc/trunk/source/Tupfile.lua @@ -0,0 +1,8 @@ +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")