Author: Martin Storsjö Date: 2022-04-25T23:01:22+03:00 New Revision: 7164c5f051a980442f2376af4bae3740710bf347
URL: https://github.com/llvm/llvm-project/commit/7164c5f051a980442f2376af4bae3740710bf347 DIFF: https://github.com/llvm/llvm-project/commit/7164c5f051a980442f2376af4bae3740710bf347.diff LOG: [libunwind] [CMake] Remove leftover no-op cmake variable setting. NFC. The setting and restoring of this variable became unused in 3ee0cec88effc88285732c8bec2a8f0e4e37c0b1 / D112155. Differential Revision: https://reviews.llvm.org/D124372 Added: Modified: libunwind/CMakeLists.txt Removed: ################################################################################ diff --git a/libunwind/CMakeLists.txt b/libunwind/CMakeLists.txt index ca6999f7d147a..6a76917ae91b9 100644 --- a/libunwind/CMakeLists.txt +++ b/libunwind/CMakeLists.txt @@ -180,15 +180,6 @@ include(HandleLibunwindFlags) # Setup Compiler Flags #=============================================================================== -# Compiler tests may be failing if the compiler implicitly links in libunwind, -# which doesn't exist yet. This gets waived by --unwindlib=none -# later in config-ix below, but the tests for --target etc before that may -# be failing due to it. Only test compilation, not linking, for these -# tests here now. -set(CMAKE_TRY_COMPILE_TARGET_TYPE_ORIG ${CMAKE_TRY_COMPILE_TARGET_TYPE}) -set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY) -set(CMAKE_TRY_COMPILE_TARGET_TYPE ${CMAKE_TRY_COMPILE_TARGET_TYPE_ORIG}) - # Configure compiler. include(config-ix) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits