diff --git a/src/native/external/zlib-ng.cmake b/src/native/external/zlib-ng.cmake index 3f005eaa54f3d..c9829842c458b 100644 --- a/src/native/external/zlib-ng.cmake +++ b/src/native/external/zlib-ng.cmake @@ -9,6 +9,9 @@ set(ZLIB_ENABLE_TESTS OFF) set(ZLIBNG_ENABLE_TESTS OFF) set(Z_PREFIX ON) +# TODO: Turn back on when Linux kernels with proper RISC-V extension detection (>= 6.5) are more commonplace +set(WITH_RVV OFF) + add_compile_options($<$:-Wno-unused-command-line-argument>) # clang : error : argument unused during compilation: '-fno-semantic-interposition' add_compile_options($<$:-Wno-logical-op-parentheses>) # place parentheses around the '&&' expression to silence this warning add_compile_options($<$:/wd4127>) # warning C4127: conditional expression is constant