Subversion Repositories Kolibri OS

Rev

Rev 8467 | Blame | Last modification | View Log | Download | RSS feed

  1. if tup.getconfig("NO_GCC") ~= "" then return end
  2. HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
  3. tup.include(HELPERDIR .. "/use_gcc.lua")
  4. tup.include(HELPERDIR .. "/use_newlib.lua")
  5.  
  6. if tup.getconfig("LANG") == "ru"
  7. then CFLAGS = CFLAGS .. " -Dlang_ru"
  8. else CFLAGS = CFLAGS .. " -Dlang_en"
  9. end
  10.  
  11. compile_gcc{"Backy.c"}
  12. link_gcc("Backy")
  13.