forked from OSchip/llvm-project
compiler-rt: Fix arch detection for ppc64le
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D110377
This commit is contained in:
parent
6c6abb1ded
commit
05c21f54a4
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue