Skip to content

Commit 79a4b8e

Browse files
committed
Remove deprecated checks
1 parent ff4df45 commit 79a4b8e

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

libunwind/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
233233
add_compile_flags_if_supported(-funwind-tables)
234234
set(CMAKE_TRY_COMPILE_TARGET_TYPE ${_previous_CMAKE_TRY_COMPILE_TARGET_TYPE})
235235

236-
if (LIBUNWIND_USES_ARM_EHABI AND NOT CXX_SUPPORTS_FUNWIND_TABLES_FLAG)
237-
message(SEND_ERROR "The -funwind-tables flag must be supported "
238-
"because this target uses ARM Exception Handling ABI")
239-
endif()
236+
# if (LIBUNWIND_USES_ARM_EHABI AND NOT CXX_SUPPORTS_FUNWIND_TABLES_FLAG)
237+
# message(SEND_ERROR "The -funwind-tables flag must be supported "
238+
# "because this target uses ARM Exception Handling ABI")
239+
# endif()
240240

241241
add_cxx_compile_flags_if_supported(-fno-exceptions)
242242
add_cxx_compile_flags_if_supported(-fno-rtti)

libunwind/src/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ add_link_flags_if(CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG --unwindlib=none)
9696
# MINGW_LIBRARIES is defined in config-ix.cmake
9797
add_library_flags_if(MINGW "${MINGW_LIBRARIES}")
9898

99-
if (LIBUNWIND_ENABLE_SHARED AND
100-
NOT (CXX_SUPPORTS_FNO_EXCEPTIONS_FLAG AND
101-
CXX_SUPPORTS_FUNWIND_TABLES_FLAG))
102-
message(FATAL_ERROR
103-
"Compiler doesn't support generation of unwind tables if exception "
104-
"support is disabled. Building libunwind DSO with runtime dependency "
105-
"on C++ ABI library is not supported.")
106-
endif()
99+
# if (LIBUNWIND_ENABLE_SHARED AND
100+
# NOT (CXX_SUPPORTS_FNO_EXCEPTIONS_FLAG AND
101+
# CXX_SUPPORTS_FUNWIND_TABLES_FLAG))
102+
# message(FATAL_ERROR
103+
# "Compiler doesn't support generation of unwind tables if exception "
104+
# "support is disabled. Building libunwind DSO with runtime dependency "
105+
# "on C++ ABI library is not supported.")
106+
# endif()
107107

108108
if (APPLE)
109109
add_compile_flags("-U__STRICT_ANSI__")

0 commit comments

Comments
 (0)