Fix #111162: Overlay drawing issues due to shared library using fastmath #111708

Merged
Xavier Hallade merged 1 commits from xavierh/blender:nofastmath into main 2023-08-31 10:43:35 +02:00

1 Commits

Author SHA1 Message Date
Xavier Hallade fa9bf4a65c Fix #111162: Overlay drawing issues due to shared library using fastmath
buildbot/vexp-code-patch-coordinator Build done. Details
Cycles oneAPI kernel library was compiled using -ffast-math. The current
version of Clang makes it link to crtfastmath.o in that case, bringing a
static constructor that does set the FTZ/DAZ bits in MXCSR for the whole
program, leading to unwanted behavior with other components.
Instead of -ffast-math, we switch to a safer subset of compile flags.
2023-08-31 09:28:59 +02:00