Subversion Repositories Kolibri OS

Rev

Rev 7669 | Go to most recent revision | Blame | Compare with Previous | 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. LDFLAGS = LDFLAGS .. " --stack 0x100000"
  7. CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_KOS_ -U_Win32 -U_WIN32 -U__MINGW32__"
  8.  
  9. compile_gcc("*.cpp")
  10. link_gcc("cmm")
  11.