From eb845520ac3cd8f51bb84e3422da975a04c8bceb Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 21 Oct 2021 16:11:41 -0700 Subject: [PATCH] compiler-rt: Fix arch detection for ppc64le Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D110377 (cherry picked from commit 05c21f54a454ebfa44be7825707e6061dc32afab) --- compiler-rt/cmake/base-config-ix.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/cmake/base-config-ix.cmake b/compiler-rt/cmake/base-config-ix.cmake index c11342e68813b8..3ca9dc0f5515d3 100644 --- a/compiler-rt/cmake/base-config-ix.cmake +++ b/compiler-rt/cmake/base-config-ix.cmake @@ -204,7 +204,7 @@ macro(test_targets) test_target_arch(x86_64 "" "") endif() endif() - elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le") + elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc64le|ppc64le") test_target_arch(powerpc64le "" "-m64") elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "powerpc") if(CMAKE_SYSTEM_NAME MATCHES "AIX")