Skip to content

Commit 6b60254

Browse files
committed
Ignore critical warnings in mbedtls on aarch64
1 parent f0a0dc5 commit 6b60254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: scripts.d/50-librist/40-mbedtls.sh

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ ffbuild_dockerbuild() {
2020

2121
mkdir build && cd build
2222

23+
# Let's hope this is just a false-positive
24+
export CFLAGS="$CFLAGS -Wno-error=array-bounds"
25+
2326
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \
2427
-DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DGEN_FILES=ON \
2528
-DUSE_STATIC_MBEDTLS_LIBRARY=ON -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DINSTALL_MBEDTLS_HEADERS=ON \

0 commit comments

Comments
 (0)