Try to build minimp3.obj #3

git-svn-id: svn://kolibrios.org@8031 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2020-06-09 19:36:34 +00:00
parent 8eb204c9df
commit f870ff52d0

View File

@ -4,5 +4,7 @@ then
HELPERDIR = "../../../programs" HELPERDIR = "../../../programs"
end end
tup.include(HELPERDIR .. "/use_gcc.lua") tup.include(HELPERDIR .. "/use_gcc.lua")
NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include"
INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program" CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program"
compile_gcc{"minimp3.c"} compile_gcc{"minimp3.c"}