diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 18:29:11 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-25 18:29:11 -0500 |
| commit | cced35f122d4be9e490dc5edc26448771b0dab75 (patch) | |
| tree | 2815afebcb48cdd1546f9d7c5ebf4bbcdecbf785 | |
| parent | 3d47a2f8e3da477ee50e78133368e4c9fae6f3c8 (diff) | |
| download | luarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.tar.gz luarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.tar.bz2 luarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.zip | |
Compile with cflags instead of -Oz
| -rwxr-xr-x | init | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -15,5 +15,5 @@ LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/ | |||
| 15 | if [ -e "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" ]; then | 15 | if [ -e "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" ]; then |
| 16 | patch -i "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" build-binary/luarocks.exe.c | 16 | patch -i "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" build-binary/luarocks.exe.c |
| 17 | fi | 17 | fi |
| 18 | gcc -o build-binary/luarocks.exe -Oz build-binary/luarocks.exe.c -I/root/lua/src /root/libbz2.a /root/libssl.a /root/libz.a /root/liblua.a -mconsole -mwindows -lm | 18 | gcc -o build-binary/luarocks.exe "$CFLAGS" build-binary/luarocks.exe.c -I/root/lua/src /root/libbz2.a /root/libssl.a /root/libz.a /root/liblua.a -mconsole -mwindows -lm |
| 19 | cp build-binary/luarocks.exe /root | 19 | cp build-binary/luarocks.exe /root |
