forked from OSchip/llvm-project
[libc] improve error message for unsupported target platforms
Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D116888
This commit is contained in:
parent
ccb09a4889
commit
a01523ea99
|
@ -89,7 +89,7 @@ if(EXISTS "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/${LIBC_TARGET_ARCHITECTUR
|
|||
elseif(EXISTS "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/entrypoints.txt")
|
||||
set(entrypoint_file "${LIBC_SOURCE_DIR}/config/${LIBC_TARGET_OS}/entrypoints.txt")
|
||||
else()
|
||||
message(FATAL_ERROR "entrypoints.txt file for the target platform not found.")
|
||||
message(FATAL_ERROR "entrypoints.txt file for the target platform '${LIBC_TARGET_OS}/${LIBC_TARGET_ARCHITECTURE}' not found.")
|
||||
endif()
|
||||
include(${entrypoint_file})
|
||||
|
||||
|
|
Loading…
Reference in New Issue