mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-12 01:53:58 +03:00
762358225b
git-svn-id: svn://kolibrios.org@8531 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
409 B
Lua
11 lines
409 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 .. " -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_KOS_ -U_Win32 -U_WIN32 -U__MINGW32__"
|
|
|
|
compile_gcc("*.cpp")
|
|
link_gcc("cmm")
|