Subversion Repositories Kolibri OS

Rev

Rev 5124 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5124 Rev 8501
Line 1... Line 1...
1
if tup.getconfig("NO_GCC") ~= "" then return end
1
if tup.getconfig("NO_GCC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
Line 5... Line 5...
5
 
5
 
6
if tup.getconfig("LANG") == "ru"
6
if tup.getconfig("LANG") == "ru"
7
then C_LANG = "LANG_RUS"
7
then C_LANG = "LANG_RUS"
8
else C_LANG = "LANG_ENG" -- this includes default case without config
8
else C_LANG = "LANG_ENG" -- this includes default case without config
-
 
9
end
-
 
10
LIBS = "-lsupc++ -lstdc++ " .. LIBS
9
end
11
LDFLAGS = LDFLAGS .. " --subsystem native"
Line 10... Line 12...
10
CFLAGS = CFLAGS .. " -D_KOLIBRI -DAUTOBUILD -D" .. C_LANG .. " -DNO_FILES -fwhole-program"
12
CFLAGS = CFLAGS .. " -D_KOLIBRI -DAUTOBUILD -D" .. C_LANG .. " -DNO_FILES -fwhole-program"
11
 
13