Rev 8766 | Rev 8768 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8766 | Rev 8767 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR") |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
3 | tup.include(HELPERDIR .. "/use_gcc.lua") |
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
4 | tup.include(HELPERDIR .. "/use_newlib.lua") |
Line 5... | Line 5... | ||
5 | 5 | ||
Line 6... | Line 6... | ||
6 | LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib ../../lib/libz.dll.a " |
6 | LDFLAGS = " -shared -s -T dll.lds --entry _DllStartup --image-base=0 --out-implib ../../lib/libz.dll.a -L/../../lib " |
Line 7... | Line 7... | ||
7 | 7 | ||
8 | CFLAGS = CFLAGS .. " -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__" |
8 | CFLAGS = CFLAGS .. " -DHAVE_UNISTD_H -U_Win32 -U_WIN32 -U__MINGW32__" |