aboutsummaryrefslogtreecommitdiff
path: root/libunwind/cmake/config-ix.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind/cmake/config-ix.cmake')
-rw-r--r--libunwind/cmake/config-ix.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/libunwind/cmake/config-ix.cmake b/libunwind/cmake/config-ix.cmake
index 34786ef..f716532 100644
--- a/libunwind/cmake/config-ix.cmake
+++ b/libunwind/cmake/config-ix.cmake
@@ -10,9 +10,6 @@ include(CheckCSourceCompiles)
# might not work if libunwind doesn't exist yet. Try to check if
# --unwindlib=none is supported, and use that if possible.
llvm_check_compiler_linker_flag(C "--unwindlib=none" CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG)
-if (CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG)
- set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} --unwindlib=none")
-endif()
check_library_exists(c fopen "" LIBUNWIND_HAS_C_LIB)