From 3f27c846bcb8a18faecfca780990e0f0fa9c9f96 Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Tue, 2 Dec 2025 01:36:33 +0800 Subject: [PATCH] ci: only bypass b_lundef if using clang+sanitize --- .github/workflows/meson.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index b653f4e..bca9437 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -42,7 +42,7 @@ jobs: - name: clang+sanitize args: >- - "-Db_sanitize=address,undefined" + -Db_lundef=false "-Db_sanitize=address,undefined" extra_envs: CC: clang CXX: clang++ @@ -130,7 +130,7 @@ jobs: if: ${{ matrix.platform != 'windows-2022' }} env: ${{ matrix.mode.extra_envs }} run: | - meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} -Db_lundef=false ${{ matrix.mode.args }} + meson setup build-${{ matrix.flavor }} --buildtype=${{ matrix.flavor }} ${{ matrix.mode.args }} - name: Building run: | meson compile -C build-${{ matrix.flavor }}