kolibrios/contrib/media/minimp3/Tupfile.lua
hidnplayr 3f8e85d0b3 Try to build minimp3.obj #6
git-svn-id: svn://kolibrios.org@8034 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-09 20:02:49 +00:00

11 lines
386 B
Lua

if tup.getconfig("NO_GCC") ~= "" then return end
if tup.getconfig("HELPERDIR") == ""
then
HELPERDIR = "../../../programs"
end
tup.include(HELPERDIR .. "/use_gcc.lua")
NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include"
INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -nostdlib -fwhole-program"
compile_gcc("minimp3.c", "minimp3.obj")