summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAzharuddin Mohammed <azharudd@codeaurora.org>2018-05-24 21:36:27 +0000
committerAzharuddin Mohammed <azharudd@codeaurora.org>2018-05-24 21:36:27 +0000
commit50ecfa4cdc69778e1f7f0612c7f6f89b11510afe (patch)
treea4b3570bb5528ff49c60878520ce190e14225591 /cmake
parent2a10f5da5acb1b51d0a2ecf13dca0bf1de859db2 (diff)
Revert "[cmake] [ARM] Check if VFP is supported before including any VFP builtins"
This reverts commit 2a10f5da5acb1b51d0a2ecf13dca0bf1de859db2. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@333232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/builtin-config-ix.cmake6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmake/builtin-config-ix.cmake b/cmake/builtin-config-ix.cmake
index e3f132033..a5704e5fe 100644
--- a/cmake/builtin-config-ix.cmake
+++ b/cmake/builtin-config-ix.cmake
@@ -48,12 +48,6 @@ set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
include(CompilerRTUtils)
include(CompilerRTDarwinUtils)
-# If targeting ARM, check if VFP is supported.
-if(CAN_TARGET_arm)
- string(REPLACE ";" " " _TARGET_arm_CFLAGS "${TARGET_arm_CFLAGS}")
- check_compile_definition(__VFP_FP__ "${CMAKE_C_FLAGS} ${_TARGET_arm_CFLAGS}" COMPILER_RT_HAS_ARM_VFP)
-endif()
-
if(APPLE)
find_darwin_sdk_dir(DARWIN_osx_SYSROOT macosx)