Subversion Repositories Kolibri OS

Rev

Rev 8531 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7669 dunkaist 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")
8531 maxcodehac 4
tup.include(HELPERDIR .. "/use_newlib.lua")
7669 dunkaist 5
 
8531 maxcodehac 6
LDFLAGS = LDFLAGS .. " --stack 0x100000"
9681 Coldy 7
CFLAGS = CFLAGS .. " -fpack-struct=2 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_KOS_ -U_Win32 -U_WIN32 -U__MINGW32__"
7669 dunkaist 8
 
9
compile_gcc("*.cpp")
10
link_gcc("cmm")