summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2019-04-14 17:26:25 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2019-04-14 17:26:25 +0200
commit66038c1fb70d3c8f5af723fd7c777a0af5f47166 (patch)
tree251668cff5c88a90d0b42ea68442cf0d2ae1d21c
parent0a0b041a0042455a7be2065fe6cbadbb580973b4 (diff)
New "--with-coverity-fix" for configure script
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 28d3240..04fe627 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,10 @@ AC_ARG_WITH(jpeg-includes,
AC_ARG_WITH([ntfs],
AS_HELP_STRING([--without-ntfs],[disabled use of the ntfs library (default is NO)]))
+AC_ARG_WITH([coverity-fix],
+ AS_HELP_STRING([--with-coverity-fix],[Enable a coverity bug workaround]),
+ [CFLAGS="${CFLAGS} -D_Float128=__uint128_t -D_Float32x=int -D_Float32=int -D_Float64x=long -D_Float64=long"])
+
AC_ARG_WITH(ntfs-lib,
AS_HELP_STRING([--with-ntfs-lib=DIR],[location of the ntfs library]),
[ ntfs_lib_a="${withval}/libntfs.a"