From d76d3e8d196a30348a7ef167ae421408f05425d4 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Thu, 8 Nov 2018 18:56:40 +0000 Subject: [PATCH] Use -frounding-math since we change the rounding mode. --- src/microcode/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index d40f5999c..194ccf1b9 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -214,6 +214,8 @@ if test x"${GCC}" = xyes; then CFLAGS_WERROR=-Werror for flag in \ + -frounding-math \ + \ -Wall \ -Wclobbered \ -Wempty-body \ @@ -237,7 +239,7 @@ if test x"${GCC}" = xyes; then \ -Wno-error=stringop-truncation \ ; do - AC_MSG_CHECKING([for compiler warning $flag]) + AC_MSG_CHECKING([for compiler $flag]) SAVED_CFLAGS=${CFLAGS} CFLAGS="${SAVED_CFLAGS} ${flag} -Werror" AC_TRY_COMPILE([],[], -- 2.25.1