Skip to content

Commit 138d98b

Browse files
committed
ignore -Wmaybe-uninitialized on powerpc
1 parent 03dc4cd commit 138d98b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ else()
4040
message(WARNING "Unknown compiler... recklessly proceeding without a version check")
4141
endif()
4242

43+
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ppc64le")
44+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-maybe-uninitialized")
45+
endif()
46+
4347
# All of our target compilers support the deprecated
4448
# attribute. Normally, we would just let the GenerateExportHeader
4549
# subsystem do this via configure check, but there appears to be a

0 commit comments

Comments
 (0)