Merge pull request #22476 from mastertheknife/ppc64le_reenable_clang

ppc64le: Re-enable compiling with Clang
This commit is contained in:
alexey-milovidov 2021-04-02 10:02:55 +03:00 committed by GitHub
commit 4d8736f252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,8 +86,3 @@ if (LINKER_NAME)
message(STATUS "Using custom linker by name: ${LINKER_NAME}")
endif ()
if (ARCH_PPC64LE)
if (COMPILER_CLANG OR (COMPILER_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 8))
message(FATAL_ERROR "Only gcc-8 or higher is supported for powerpc architecture")
endif ()
endif ()