summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ec56e022cd..4878d2ba7e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1776,6 +1776,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [
if test "x$have_gcc6" = "xyes"; then
CFLAGS="$CFLAGS -Wignored-attributes -Wshift-negative-value -Wshift-overflow=2"
+ CFLAGS="$CFLAGS -Wnull-dereference"
fi
if test "x$have_shorten64_flag" = "xyes"; then