File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
230
230
set (CMAKE_REQUIRED_LINK_OPTIONS )
231
231
add_compile_flags_if_supported (-funwind-tables )
232
232
add_cxx_compile_flags_if_supported (-fno-exceptions )
233
+ add_cxx_compile_flags_if_supported (-fno-rtti )
233
234
set (CMAKE_TRY_COMPILE_TARGET_TYPE ${_previous_CMAKE_TRY_COMPILE_TARGET_TYPE} )
234
235
set (CMAKE_REQUIRED_LINK_OPTIONS ${_previous_CMAKE_REQUIRED_LINK_OPTIONS} )
235
236
@@ -238,8 +239,6 @@ if (LIBUNWIND_USES_ARM_EHABI AND NOT CXX_SUPPORTS_FUNWIND_TABLES_FLAG)
238
239
"because this target uses ARM Exception Handling ABI" )
239
240
endif ()
240
241
241
- add_cxx_compile_flags_if_supported (-fno-rtti )
242
-
243
242
# Ensure that we don't depend on C++ standard library.
244
243
if (CXX_SUPPORTS_NOSTDINCXX_FLAG )
245
244
list (APPEND LIBUNWIND_COMPILE_FLAGS -nostdinc++ )
You can’t perform that action at this time.
0 commit comments