pie experiment

This commit is contained in:
bol-van committed 2026-02-26 10:43:45 +03:00
1 parent a9a64b0462
commit 437c988f48
1 file changed
+3 -6
+3 -6
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