Fix C_Layer autobuild, add 'fridge' to autouild

git-svn-id: svn://kolibrios.org@8307 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2020-12-03 10:01:48 +00:00
parent 78b22252c8
commit 55d4156d47
2 changed files with 2 additions and 4 deletions

View File

@ -1,2 +1,2 @@
if tup.getconfig("NO_FASM") ~= "" then return end
tup.foreach_rule("*.asm", "fasm %f ../OBJ/%o " .. tup.getconfig("KPACK_CMD"), "../OBJ/%B.obj")
tup.foreach_rule("*.asm", "fasm %f ../OBJ/%o", "../OBJ/%B.obj")

View File

@ -3,10 +3,8 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
CFLAGS = "-c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -std=c99"
-- C_Layer
CFLAGS = CFLAGS .. " -I ../../../contrib/C_Layer/INCLUDE"
CFLAGS = CFLAGS .. " -std=c99 -I ../../../contrib/C_Layer/INCLUDE"
LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj"
compile_gcc{"fridge.c"}