aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-02 10:26:17 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-02 10:26:17 -0500
commit26a5965e9cef652e755b45175c424fa117d7b87e (patch)
tree580f6857b638725744162c5c56c801bbbdfd6f9b
parentbuild: add a clang static analyzer check (diff)
downloadpax-utils-26a5965e9cef652e755b45175c424fa117d7b87e.tar.gz
pax-utils-26a5965e9cef652e755b45175c424fa117d7b87e.tar.bz2
pax-utils-26a5965e9cef652e755b45175c424fa117d7b87e.zip
build: include -Wmisleading-indentation when available
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b09c3b0..f6fc827 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ _WFLAGS := \
-Wdeclaration-after-statement \
-Wextra \
-Wsequence-point \
- -Wstrict-overflow
+ -Wstrict-overflow \
+ -Wmisleading-indentation
WFLAGS := -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \
-Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \
-Wbad-function-cast -Wnested-externs -Wcomment -Winline \