Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-13 22:03:09 +00:00

pie experiment

This commit is contained in:
bol-van
2026-02-26 10:43:45 +03:00
parent a9a64b0462
commit 437c988f48

View File

@@ -101,17 +101,14 @@ jobs:
export STAGING_DIR=$RUNNER_TEMP
if [ "$ARCH" = lexra ]; then
OPTIMIZE=-Os
STATIC=-static
else
OPTIMIZE=-Oz
STATIC=-static-pie
LEXRA=1
fi
MINSIZE="$OPTIMIZE $MINSIZE"
if [ "$ARCH" = lexra ] ; then
STATIC="-static-pie"
LEXRA=1
else
STATIC="-static"
fi
if [[ "$ARCH" == lexra ]] || [[ "$ARCH" == riscv64 ]] || [[ "$ARCH" == x86 ]] ; then
# use classic lua
wget -qO- https://www.lua.org/ftp/lua-${LUA_RELEASE}.tar.gz | tar -xz