diff --git a/programs/games/fridge/Tupfile.lua b/programs/games/fridge/Tupfile.lua index 699c4db2c4..e1af9c4ee6 100755 --- a/programs/games/fridge/Tupfile.lua +++ b/programs/games/fridge/Tupfile.lua @@ -3,8 +3,10 @@ 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" + -- C_Layer -CFLAGS = CFLAGS .. "-U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -std=c99 -I ../../../contrib/C_Layer/INCLUDE" +CFLAGS = CFLAGS .. " -I ../../../contrib/C_Layer/INCLUDE" LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj" compile_gcc{"fridge.c"}