Skip to content

Commit 14cab84

Browse files
s2opc: make ready for llvm 21 (#13926)
Ref: #13915 --------- Signed-off-by: David Korczynski <[email protected]>
1 parent 7aa48d7 commit 14cab84

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/s2opc/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@
1616
#
1717
################################################################################
1818

19+
if [ -f /usr/local/bin/clang-21 ]; then
20+
export CFLAGS="${CFLAGS} -Wno-error=unterminated-string-initialization"
21+
fi
22+
1923
MBEDTLS_BUILD=$WORK/mbedtls
2024
EXPAT_BUILD=$WORK/expat
2125
S2OPC_BUILD=$WORK/s2opc
2226
SAMPLES=$SRC/S2OPC-fuzzing-data
2327

2428
# Build the dependencies
25-
2629
## Configure mbedtls to disable support of the AES-NI instructions, known to cause error with some sanitizers
2730
tar xjf $SRC/mbedtls.tbz2 -C $WORK
2831
sed 's,#define MBEDTLS_AESNI_C,//#define MBEDTLS_AESNI_C,' -i $WORK/mbedtls-2.*/include/mbedtls/config.h

0 commit comments

Comments
 (0)