mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 07:31:28 +00:00
[runtimes] Move WARNING to FATAL_ERROR for folks using FOO_BUILD_32_BITS
This commit is contained in:
parent
fa1c077b41
commit
dc1244dc4e
@ -263,7 +263,7 @@ option(LIBCXXABI_USE_LLVM_UNWINDER "Build and use the LLVM unwinder." OFF)
|
||||
# Target options --------------------------------------------------------------
|
||||
option(LIBCXX_BUILD_32_BITS "Build 32 bit multilib libc++. This option is not supported anymore when building the runtimes. Please specify a full triple instead." ${LLVM_BUILD_32_BITS})
|
||||
if (LIBCXX_BUILD_32_BITS)
|
||||
message(WARNING "LIBCXX_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
message(FATAL_ERROR "LIBCXX_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_TARGET)
|
||||
|
@ -110,7 +110,7 @@ option(LIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS
|
||||
which case the definition in libc++abi should be turned off." ON)
|
||||
option(LIBCXXABI_BUILD_32_BITS "Build 32 bit multilib libc++abi. This option is not supported anymore when building the runtimes. Please specify a full triple instead." ${LLVM_BUILD_32_BITS})
|
||||
if (LIBCXXABI_BUILD_32_BITS)
|
||||
message(WARNING "LIBCXXABI_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
message(FATAL_ERROR "LIBCXXABI_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
endif()
|
||||
|
||||
option(LIBCXXABI_INCLUDE_TESTS "Generate build targets for the libc++abi unit tests." ${LLVM_INCLUDE_TESTS})
|
||||
|
@ -59,7 +59,7 @@ include(HandleCompilerRT)
|
||||
# Define options.
|
||||
option(LIBUNWIND_BUILD_32_BITS "Build 32 bit multilib libunwind. This option is not supported anymore when building the runtimes. Please specify a full triple instead." ${LLVM_BUILD_32_BITS})
|
||||
if (LIBUNWIND_BUILD_32_BITS)
|
||||
message(WARNING "LIBUNWIND_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
message(FATAL_ERROR "LIBUNWIND_BUILD_32_BITS is not supported anymore when building the runtimes, please specify a full triple instead.")
|
||||
endif()
|
||||
|
||||
option(LIBUNWIND_ENABLE_CET "Build libunwind with CET enabled." OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user