From 6b6025494d7fb2f39fc1c84d5f0af4ed8e054871 Mon Sep 17 00:00:00 2001 From: BtbN Date: Sun, 23 Jun 2024 22:41:02 +0200 Subject: [PATCH] Ignore critical warnings in mbedtls on aarch64 --- scripts.d/50-librist/40-mbedtls.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts.d/50-librist/40-mbedtls.sh b/scripts.d/50-librist/40-mbedtls.sh index bcdb451..cd42fb8 100755 --- a/scripts.d/50-librist/40-mbedtls.sh +++ b/scripts.d/50-librist/40-mbedtls.sh @@ -20,6 +20,9 @@ ffbuild_dockerbuild() { mkdir build && cd build + # Let's hope this is just a false-positive + export CFLAGS="$CFLAGS -Wno-error=array-bounds" + cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \ -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DGEN_FILES=ON \ -DUSE_STATIC_MBEDTLS_LIBRARY=ON -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DINSTALL_MBEDTLS_HEADERS=ON \