Skip to content

Commit f6ca6ed

Browse files
committed
Revert "compiler-rt: Fix FLOAT16 feature detection"
This reverts commit aaa93ce. This commit was not properly reviewed.
1 parent 48570a6 commit f6ca6ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
66
cmake_minimum_required(VERSION 3.20.0)
77

8+
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
89
project(CompilerRTBuiltins C ASM)
910
set(COMPILER_RT_STANDALONE_BUILD TRUE)
1011
set(COMPILER_RT_BUILTINS_STANDALONE_BUILD TRUE)
@@ -56,8 +57,6 @@ if (COMPILER_RT_STANDALONE_BUILD)
5657
ON)
5758
endif()
5859

59-
set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
60-
6160
include(builtin-config-ix)
6261
include(CMakeDependentOption)
6362
include(CMakePushCheckState)

0 commit comments

Comments
 (0)