[compiler-rt] Build crtbegin.o/crtend.o for SerenityOS
Differential Revision: https://reviews.llvm.org/D154398
This commit is contained in:
parent
4ad2ada521
commit
fab5c8fa40
@ -232,7 +232,7 @@ else()
|
||||
${ALL_BUILTIN_SUPPORTED_ARCH})
|
||||
endif()
|
||||
|
||||
if (OS_NAME MATCHES "Linux" AND NOT LLVM_USE_SANITIZER)
|
||||
if (OS_NAME MATCHES "Linux|SerenityOS" AND NOT LLVM_USE_SANITIZER)
|
||||
set(COMPILER_RT_HAS_CRT TRUE)
|
||||
else()
|
||||
set(COMPILER_RT_HAS_CRT FALSE)
|
||||
|
@ -47,7 +47,7 @@ if(NOT APPLE)
|
||||
message(STATUS "Supported architectures for crt: ${CRT_SUPPORTED_ARCH}")
|
||||
endif()
|
||||
|
||||
if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux" AND NOT LLVM_USE_SANITIZER)
|
||||
if (CRT_SUPPORTED_ARCH AND OS_NAME MATCHES "Linux|SerenityOS" AND NOT LLVM_USE_SANITIZER)
|
||||
set(COMPILER_RT_HAS_CRT TRUE)
|
||||
else()
|
||||
set(COMPILER_RT_HAS_CRT FALSE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user