From 7d28b64a030c33ab9e07921308c4a64e3da76e0f Mon Sep 17 00:00:00 2001 From: yhirose Date: Thu, 22 Oct 2026 17:40:53 -0400 Subject: [PATCH] Build BoringSSL with clang in the Linux CI job GCC 15 on ubuntu-latest (26.04) reports a false -Wstringop-overflow in BoringSSL's Keccak code, and BoringSSL's -Werror makes the build fail. --- .github/workflows/test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2ff23ed2..75886594 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -209,7 +209,11 @@ jobs: git clone https://boringssl.googlesource.com/boringssl boringssl cd boringssl git checkout "${{ steps.boringssl-rev.outputs.sha }}" + # GCC 15 reports a false -Wstringop-overflow in BoringSSL's Keccak + # code, which its -Werror makes fatal. Clang is its primary compiler. cmake -S . -B build \ + -DCMAKE_C_COMPILER=clang \ + -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \