From 14f4f8e55b363037ae881084e4594934a869cf5d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 10 May 2016 10:37:55 -0700 Subject: [PATCH] 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 --- cmake/config-ix.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index 264085e..299682d 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -128,10 +128,6 @@ 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