forked from KolibriOS/kolibrios
05a05aaf23
git-svn-id: svn://kolibrios.org@8035 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
386 B
Lua
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("dr_flac.c", "dr_flac.obj")
|