mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-23 11:54:42 +00:00
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.
This commit is contained in:
1 parent
97a972fcef
commit
7d28b64a03
1 file changed
+4
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user