forked from OSchip/llvm-project
[libunwind] [CMake] Remove leftover no-op cmake variable setting. NFC.
The setting and restoring of this variable became unused in
3ee0cec88e
/ D112155.
Differential Revision: https://reviews.llvm.org/D124372
This commit is contained in:
parent
c98d9502fc
commit
7164c5f051
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue