blob: 1a7b96b0f7df9336e935fac07101311d4c4aa59d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
From b0de87ae88ff187820624d461fbb8fde84a90eb1 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 10 May 2016 10:37:55 -0700
Subject: [PATCH 1/3] Remove fatal check for explicit
COMPILER_RT_DEFAULT_TARGET_ARCH
In OE, we do not deduce float-abi via target triplet
but via a CFLAGS option, and we do not have possibility
to build both hf and sf in same toolchain, therefore lets
ignore the test, we are doing the right job from recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
cmake/Modules/CompilerRTUtils.cmake | 4 ----
1 file changed, 4 deletions(-)
diff --git a/cmake/Modules/CompilerRTUtils.cmake b/cmake/Modules/CompilerRTUtils.cmake
index b4a2b48..086d9ba 100644
--- a/cmake/Modules/CompilerRTUtils.cmake
+++ b/cmake/Modules/CompilerRTUtils.cmake
@@ -125,9 +125,5 @@ macro(test_target_arch arch def)
endif()
if(${CAN_TARGET_${arch}})
list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch})
- elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "${arch}" AND
- COMPILER_RT_HAS_EXPLICIT_DEFAULT_TARGET_TRIPLE)
- # Bail out if we cannot target the architecture we plan to test.
- message(FATAL_ERROR "Cannot compile for ${arch}:\n${TARGET_${arch}_OUTPUT}")
endif()
endmacro()
--
2.8.2
|