Use -frounding-math since we change the rounding mode.
authorTaylor R Campbell <campbell@mumble.net>
Thu, 8 Nov 2018 18:56:40 +0000 (18:56 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 10 Nov 2018 17:58:03 +0000 (17:58 +0000)
src/microcode/configure.ac

index d40f5999c338e38ee56a863f3aa9505a82e69dbf..194ccf1b9abcedf64c8f52917d8e7d76e7becde6 100644 (file)
@@ -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([],[],