File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ patch -p1 -i ../../build.patch
1111
1212make \
1313 PLAT=linux \
14- MYCFLAGS=" -fPIC -flto -fuse-linker-plugin -ffat-lto-objects" \
15- MYLDFLAGS=" -static -fPIC -flto -fuse-linker-plugin -ffat-lto-objects"
14+ MYCFLAGS=" -Os - fPIC -flto -fuse-linker-plugin -ffat-lto-objects" \
15+ MYLDFLAGS=" -Os - static -fPIC -flto -fuse-linker-plugin -ffat-lto-objects"
1616
1717strip --strip-unneeded src/lua
1818cp src/lua ../../lua-linux-$arch
Original file line number Diff line number Diff line change 1111 CC=" i686-w64-mingw32-gcc -std=gnu99" \
1212 AR=" i686-w64-mingw32-ar rc" \
1313 RANLIB=" i686-w64-mingw32-ranlib" \
14- MYCFLAGS=" -flto -fuse-linker-plugin -ffat-lto-objects" \
15- MYLDFLAGS=" -static -flto -fuse-linker-plugin -ffat-lto-objects"
14+ MYCFLAGS=" -Os - flto -fuse-linker-plugin -ffat-lto-objects" \
15+ MYLDFLAGS=" -Os - static -flto -fuse-linker-plugin -ffat-lto-objects"
1616
1717i686-w64-mingw32-strip --strip-unneeded src/lua.exe
1818cp src/lua.exe ../../lua-windows-i686.exe
Original file line number Diff line number Diff line change 1111 CC=" x86_64-w64-mingw32-gcc -std=gnu99" \
1212 AR=" x86_64-w64-mingw32-ar rc" \
1313 RANLIB=" x86_64-w64-mingw32-ranlib" \
14- MYCFLAGS=" -flto -fuse-linker-plugin -ffat-lto-objects" \
15- MYLDFLAGS=" -static -flto -fuse-linker-plugin -ffat-lto-objects"
14+ MYCFLAGS=" -Os - flto -fuse-linker-plugin -ffat-lto-objects" \
15+ MYLDFLAGS=" -Os - static -flto -fuse-linker-plugin -ffat-lto-objects"
1616
1717x86_64-w64-mingw32-strip --strip-unneeded src/lua.exe
1818cp src/lua.exe ../../lua-windows-x86_64.exe
You can’t perform that action at this time.
0 commit comments