diff options
author | Karel Zak | 2018-07-20 12:15:31 +0200 |
---|---|---|
committer | Karel Zak | 2018-07-20 12:15:31 +0200 |
commit | 17666c8760df26386b8b9b0717ecb0987de648b8 (patch) | |
tree | b8375b69abacd217ef2d2e78485075d228f73dd0 | |
parent | mount: add details about mtab and --namespace to mount.8 (diff) | |
download | kernel-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>
-rw-r--r-- | configure.ac | 1 |
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]) |