From 89fd381be854c244fd412d56da02b829ce15bce8 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 25 Mar 2024 19:34:41 +0100 Subject: [PATCH] MDEV-25252 main.type_float fails in new buildbot disable approximate math in icx. and disable ansi aliasing too (aria loghandler unit tests fail) --- configure.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.cmake b/configure.cmake index fcfce85edb9..1ac875cde35 100644 --- a/configure.cmake +++ b/configure.cmake @@ -991,3 +991,8 @@ IF(have_C__Werror) ) SET(CMAKE_REQUIRED_FLAGS ${SAVE_CMAKE_REQUIRED_FLAGS}) ENDIF() + +IF(CMAKE_C_COMPILER_ID MATCHES "Intel") + MY_CHECK_AND_SET_COMPILER_FLAG("-no-ansi-alias") + MY_CHECK_AND_SET_COMPILER_FLAG("-fp-model precise") +ENDIF()