aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-09-25 18:29:11 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-09-25 18:29:11 -0500
commitcced35f122d4be9e490dc5edc26448771b0dab75 (patch)
tree2815afebcb48cdd1546f9d7c5ebf4bbcdecbf785
parent3d47a2f8e3da477ee50e78133368e4c9fae6f3c8 (diff)
downloadluarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.tar.gz
luarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.tar.bz2
luarocks-packaging-cced35f122d4be9e490dc5edc26448771b0dab75.zip
Compile with cflags instead of -Oz
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index b7c8e4f..4805d18 100755
--- a/init
+++ b/init
@@ -15,5 +15,5 @@ LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/
15if [ -e "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" ]; then 15if [ -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
17fi 17fi
18gcc -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 18gcc -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
19cp build-binary/luarocks.exe /root 19cp build-binary/luarocks.exe /root