From 55d4156d471d58efd79ed6754797870e34628575 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Thu, 3 Dec 2020 10:01:48 +0000 Subject: [PATCH] Fix C_Layer autobuild, add 'fridge' to autouild git-svn-id: svn://kolibrios.org@8307 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/C_Layer/ASM/Tupfile.lua | 2 +- programs/games/fridge/{Tupfile1.lua => Tupfile.lua} | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) rename programs/games/fridge/{Tupfile1.lua => Tupfile.lua} (65%) diff --git a/contrib/C_Layer/ASM/Tupfile.lua b/contrib/C_Layer/ASM/Tupfile.lua index ccbd6456c6..7b47c7b234 100644 --- a/contrib/C_Layer/ASM/Tupfile.lua +++ b/contrib/C_Layer/ASM/Tupfile.lua @@ -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") diff --git a/programs/games/fridge/Tupfile1.lua b/programs/games/fridge/Tupfile.lua similarity index 65% rename from programs/games/fridge/Tupfile1.lua rename to programs/games/fridge/Tupfile.lua index 993e267655..f102de0b53 100755 --- a/programs/games/fridge/Tupfile1.lua +++ b/programs/games/fridge/Tupfile.lua @@ -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"}