diff options
| -rwxr-xr-x | init | 2 | ||||
| -rw-r--r-- | meta.lua | 4 |
2 files changed, 4 insertions, 2 deletions
| @@ -4,7 +4,7 @@ luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") | |||
| 4 | mkdir "$luaver" | 4 | mkdir "$luaver" |
| 5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 | 5 | tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 |
| 6 | cd "$luaver" | 6 | cd "$luaver" |
| 7 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $1 $2" | 7 | make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" |
| 8 | cd "/root/" | 8 | cd "/root/" |
| 9 | cp "$luaver/src/*.exe" . | 9 | cp "$luaver/src/*.exe" . |
| 10 | cp "$luaver/src/*.dll" . | 10 | cp "$luaver/src/*.dll" . |
| @@ -38,7 +38,9 @@ for version, link, name, optimization, rel, flag, _, image in cartesian(lua_vers | |||
| 38 | "lua" .. version .. ".dll", | 38 | "lua" .. version .. ".dll", |
| 39 | "luac.exe", | 39 | "luac.exe", |
| 40 | }, | 40 | }, |
| 41 | entrypoint = "init " .. optimization .. " " .. flag, | 41 | env = { |
| 42 | CFLAGS = optimization .. " " .. flag, | ||
| 43 | }, | ||
| 42 | }) | 44 | }) |
| 43 | end | 45 | end |
| 44 | return builds | 46 | return builds |
