diff options
author | Felipe Sateler <fsateler@debian.org> | 2019-01-15 21:52:31 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2019-08-04 21:18:02 -0400 |
commit | 229f4f5ab063ddb83a2398497a66f09a973a5d58 (patch) | |
tree | ec0a7cd3ce29ea9a50dbddbcc28c2650e4f3e558 | |
parent | aa58453ae786d0a83318c38379ed2b077049f6fb (diff) |
Don't compile with -ffast-math
This flag results in calls to (at least) isfinite() and isnan() becoming
skipped, and a constant false returned.
Gbp-Pq: Name Don-t-compile-with-ffast-math.patch
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c9c414f..3165b9a 100644 --- a/configure.ac +++ b/configure.ac @@ -182,7 +182,7 @@ AX_CHECK_COMPILE_FLAG([-std=gnu11], [-pedantic -Werror]) AX_APPEND_COMPILE_FLAGS( - [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto], + [-Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto], [], [-pedantic -Werror]) AS_CASE([" $CFLAGS "], [*" -O0 "*], [], [ |