Added libogg to autobuild

git-svn-id: svn://kolibrios.org@9791 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2022-04-26 09:18:26 +00:00
parent 9ba1adb152
commit 22b894fdba
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
CFLAGS = CFLAGS_OPTIMIZE_SPEED
INCLUDES = INCLUDES .. " -Iinclude "
compile_gcc{"src/bitwise.c", "src/framing.c"}
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libogg.a", "../../lib/<libogg>"})