mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-29 20:23:13 +03:00
11 lines
391 B
Lua
11 lines
391 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("libvorbis.c", "stb_vorbis.obj")
|