diff options
author | Tom Stellard <tstellar@redhat.com> | 2021-10-21 16:11:41 -0700 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2021-10-27 07:35:06 -0700 |
commit | eb845520ac3cd8f51bb84e3422da975a04c8bceb (patch) | |
tree | a6951234f3ab73442b7f30d4929733933cc311ae | |
parent | ec4829efcc947bde76d66844b5937f0d7de56058 (diff) | |
download | llvm-eb845520ac3cd8f51bb84e3422da975a04c8bceb.tar.gz |
compiler-rt: Fix arch detection for ppc64le
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D110377
(cherry picked from commit 05c21f54a454ebfa44be7825707e6061dc32afab)
-rw-r--r-- | compiler-rt/cmake/base-config-ix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/cmake/base-config-ix.cmake b/compiler-rt/cmake/base-config-ix.cmake index c11342e68813..3ca9dc0f5515 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") |