From: Konstantinos Margaritis Date: Fri, 19 Jan 2024 09:23:17 +0000 (+0200) Subject: -Wno-pass-failed is only for ppc64le X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b3b313452564274b255247300bcc32ca918a63;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()