From 9d4019b9b7ae26b18720e626774d3f1128fa831a Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 29 Jul 2026 13:16:31 +0200 Subject: [PATCH] ci: build the release clang build with _FORTIFY_SOURCE=3 Since this combination is known to cause interesting issues in our allocation machinery. --- .github/workflows/unit-tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/unit-tests.sh b/.github/workflows/unit-tests.sh index b2f21b5825b..885dad1c1ad 100755 --- a/.github/workflows/unit-tests.sh +++ b/.github/workflows/unit-tests.sh @@ -108,6 +108,8 @@ for phase in "${PHASES[@]}"; do MESON_ARGS+=(-Dman=enabled) else MESON_ARGS+=(-Dmode=release --optimization=2) + CFLAGS+=" -D_FORTIFY_SOURCE=3" + CXXFLAGS+=" -D_FORTIFY_SOURCE=3" fi # Some variation: remove machine-id, like on Debian builders to ensure unit tests still work. -- 2.47.3