MDEV-25252 main.type_float fails in new buildbot

disable approximate math in icx.
and disable ansi aliasing too (aria loghandler unit tests fail)
This commit is contained in:
Sergei Golubchik 2024-03-25 19:34:41 +01:00
parent 353f904ea9
commit 89fd381be8

View file

@ -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()