kolibrios/programs/develop/cmm/Tupfile.lua
Coldy 038e517be3 cmm: fixup tupfile, add comment
git-svn-id: svn://kolibrios.org@9681 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-05 21:19:41 +00:00

11 lines
425 B
Lua

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")
LDFLAGS = LDFLAGS .. " --stack 0x100000"
CFLAGS = CFLAGS .. " -fpack-struct=2 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_KOS_ -U_Win32 -U_WIN32 -U__MINGW32__"
compile_gcc("*.cpp")
link_gcc("cmm")