aboutsummaryrefslogtreecommitdiffstats
path: root/config/zfs-build.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-07-13 12:30:02 -0700
committerBrian Behlendorf <[email protected]>2015-07-13 12:55:26 -0700
commitc2d17fd891add689786c569d7b5ea66d60d69b9b (patch)
tree3f59174db0639acfb5c82066a56676d9fa17de34 /config/zfs-build.m4
parent5970eb3d60346d385d0910c00ed5199b9af223c8 (diff)
Disable gcc bool-compare warning
As of gcc version 5.1.1 a new boolean comparison warning has been introduced. This warning is harmless but is triggered several places in the ZFS code base. Because warnings are promoted to errors when building with debugging enabled it is necessary to disable the warning when using versions of gcc which automatically enabling this check. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r--config/zfs-build.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index ccc31d59d..f93c5b5d4 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -62,6 +62,7 @@ AC_DEFUN([ZFS_AC_DEBUG_DMU_TX], [
AC_DEFUN([ZFS_AC_CONFIG_ALWAYS], [
ZFS_AC_CONFIG_ALWAYS_NO_UNUSED_BUT_SET_VARIABLE
+ ZFS_AC_CONFIG_ALWAYS_NO_BOOL_COMPARE
])
AC_DEFUN([ZFS_AC_CONFIG], [