compiler-rt: Fix arch detection for ppc64le
authorTom Stellard <tstellar@redhat.com>
Thu, 21 Oct 2021 23:11:41 +0000 (16:11 -0700)
committerTom Stellard <tstellar@redhat.com>
Thu, 21 Oct 2021 23:12:13 +0000 (16:12 -0700)
Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D110377

compiler-rt/cmake/base-config-ix.cmake

index 8526252..a97165d 100644 (file)
@@ -210,7 +210,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")