From 4fb8cee35f2f90b779abb8b48b6b1adc9427a301 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Fri, 19 Jan 2024 11:23:17 +0200 Subject: [PATCH] -Wno-pass-failed is only for ppc64le --- unit/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()