summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorKarel Zak2018-07-20 12:15:31 +0200
committerKarel Zak2018-07-20 12:15:31 +0200
commit17666c8760df26386b8b9b0717ecb0987de648b8 (patch)
treeb8375b69abacd217ef2d2e78485075d228f73dd0 /configure.ac
parentmount: add details about mtab and --namespace to mount.8 (diff)
downloadkernel-qcow2-util-linux-17666c8760df26386b8b9b0717ecb0987de648b8.tar.gz
kernel-qcow2-util-linux-17666c8760df26386b8b9b0717ecb0987de648b8.tar.xz
kernel-qcow2-util-linux-17666c8760df26386b8b9b0717ecb0987de648b8.zip
build-sys: add -Wdiscarded-qualifiers
Signed-off-by: Karel Zak <kzak@redhat.com>
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 edef1455c..a41ca7689 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,7 @@ UL_WARN_ADD([-Wpointer-arith])
UL_WARN_ADD([-Wstrict-prototypes])
UL_WARN_ADD([-Wformat-security])
UL_WARN_ADD([-Wimplicit-function-declaration])
+UL_WARN_ADD([-Wdiscarded-qualifiers])
AC_SUBST([WARN_CFLAGS])
UL_WARN_ADD([-Wno-clobbered], [BSD_WARN_CFLAGS])