From 59e6603b83d21f76012c6ea3fa4f4e44302497b3 Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 13 Feb 2026 10:34:16 +0300 Subject: [PATCH] dont use no-unwind to prevent crashes --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 172db54..6ceac54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -86,7 +86,7 @@ jobs: LUAJIT_VER: 2.1 LUAJIT_RELEASE: 2.1-20250826 LUAJIT_LUAVER: 5.1 - MINSIZE: -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables + MINSIZE: -flto=auto -ffunction-sections -fdata-sections LDMINSIZE: -Wl,--gc-sections -flto=auto run: | DEPS_DIR=$GITHUB_WORKSPACE/deps @@ -218,7 +218,7 @@ jobs: LUAJIT_VER: 2.1 LUAJIT_RELEASE: 2.1-20250826 LUAJIT_LUAVER: 5.1 - MINSIZE: -Oz -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables + MINSIZE: -Oz -flto=auto -ffunction-sections -fdata-sections LDMINSIZE: -Wl,--gc-sections -flto=auto run: | DEPS_DIR=$GITHUB_WORKSPACE/deps @@ -315,7 +315,7 @@ jobs: TARGET: ${{ matrix.target }} ARCH: ${{ matrix.arch }} CC: ${{ matrix.target }}-freebsd11-clang - MINSIZE: -Oz -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables -fno-asynchronous-unwind-tables + MINSIZE: -Oz -flto=auto -ffunction-sections -fdata-sections LDMINSIZE: -Wl,--gc-sections -flto=auto run: | @@ -427,7 +427,7 @@ jobs: - name: Build luajit env: LUAJIT_RELEASE: 2.1-20250826 - MINSIZE: -Os -flto=auto -ffunction-sections -fdata-sections -fno-unwind-tables + MINSIZE: -Os -flto=auto -ffunction-sections -fdata-sections LDMINSIZE: -Wl,--gc-sections -flto=auto shell: C:\cygwin\bin\bash.exe -eo pipefail '{0}' run: >-