From eeb6437d951a5316a5d743578ccb284db9d57caa 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/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