Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
8028 hidnplayr 1
if tup.getconfig("NO_GCC") ~= "" then return end
2
if tup.getconfig("HELPERDIR") == ""
3
then
8029 hidnplayr 4
  HELPERDIR = "../../../programs"
8028 hidnplayr 5
end
6
tup.include(HELPERDIR .. "/use_gcc.lua")
8031 hidnplayr 7
NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include"
8
INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE
8034 hidnplayr 9
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -nostdlib -fwhole-program"
10
compile_gcc("minimp3.c", "minimp3.obj")