Rev 8029 | Rev 8031 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8029 | Rev 8030 | ||
---|---|---|---|
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | if tup.getconfig("HELPERDIR") == "" |
2 | if tup.getconfig("HELPERDIR") == "" |
3 | then |
3 | then |
4 | HELPERDIR = "../../../programs" |
4 | HELPERDIR = "../../../programs" |
5 | end |
5 | end |
6 | tup.include(HELPERDIR .. "/use_gcc.lua") |
6 | tup.include(HELPERDIR .. "/use_gcc.lua") |
7 | CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -nostdlib -fwhole-program" |
7 | CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program" |
8 | compile_gcc{"minimp3.c"} |
8 | compile_gcc{"minimp3.c"} |