forked from OSchip/llvm-project
[compiler-rt][CMake] Support powerpc32 on Linux
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D98831
This commit is contained in:
parent
719354a571
commit
30029e7407
|
@ -213,9 +213,7 @@ macro(test_targets)
|
|||
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")
|
||||
test_target_arch(powerpc "" "-m32")
|
||||
endif()
|
||||
test_target_arch(powerpc "" "-m32")
|
||||
test_target_arch(powerpc64 "" "-m64")
|
||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "s390x")
|
||||
test_target_arch(s390x "" "")
|
||||
|
|
Loading…
Reference in New Issue