From: Konstantinos Margaritis Date: Fri, 19 Jan 2024 09:23:17 +0000 (+0200) Subject: -Wno-pass-failed is only for ppc64le X-Git-Tag: vectorscan/5.4.12^2~75^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fb8cee35f2f90b779abb8b48b6b1adc9427a301;p=thirdparty%2Fvectorscan.git -Wno-pass-failed is only for ppc64le --- diff --git a/unit/CMakeLists.txt b/unit/CMakeLists.txt index 83eb4d66..f5577d40 100644 --- a/unit/CMakeLists.txt +++ b/unit/CMakeLists.txt @@ -29,7 +29,7 @@ if(CMAKE_COMPILER_IS_GNUCC) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-array-bounds") endif() -if(CMAKE_COMPILER_IS_CLANG) +if(CMAKE_COMPILER_IS_CLANG AND ARCH_PPC64EL) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-pass-failed") endif()