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()