Fix gcc version of backy and add to autobuild

git-svn-id: svn://kolibrios.org@8467 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack
2020-12-22 19:49:57 +00:00
parent b7804a951e
commit e3201d94c3
6 changed files with 70 additions and 169 deletions
+12
View File
@@ -0,0 +1,12 @@
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")
if tup.getconfig("LANG") == "ru"
then CFLAGS = CFLAGS .. " -Dlang_ru"
else CFLAGS = CFLAGS .. " -Dlang_en"
end
compile_gcc{"backy.c"}
link_gcc("backy")