The Intel C Compiler does not support the `-ffast-math` command line option, so
this logic was suppressing it. But it is coming before anything in the Graphviz
build system itself that would add `-ffast-math`. So it is actually suppressing
a `-ffast-math` addition coming from the user’s environment. If you are a user
compiling Graphviz with ICC, I have a very simple alternative for you: do not
pass `-ffast-math` explicitly.
Gitlab: #1412, #2296
struct.
- When using the CMake build system, the minimum requirement has been increased
from CMake 3.9 to CMake 3.10.2.
+- When compiling Graphviz with the Intel C Compiler, the Autotools build system
+ no longer suppresses `-ffast-math`. Users relying on this are encouraged to
+ investigate what in their build environment is appending a flag their C
+ compiler does not support.
### Removed
CFLAGS="${CFLAGS} -wd269"
# icc doesn't like -pipe
CFLAGS=`echo ${CFLAGS} | sed 's/ -pipe//'`
- # icc doesn't like -ffast-math
- CFLAGS=`echo ${CFLAGS} | sed 's/ -ffast-math//'`
;;
* )
case "${build}" in