aboutsummaryrefslogtreecommitdiffstats
path: root/Make.Rules
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2021-09-29 21:38:36 -0700
committerAndrew G. Morgan <morgan@kernel.org>2021-09-29 21:42:33 -0700
commitd07df10aaa02cf8cfe8047610d2f56dc0be68f1e (patch)
treeea6d0c0eff5b62f8cebba7e50c0399ba09fa1e3f /Make.Rules
parent87219b72cefefcf28c69c2d33a62e8c67ea0efce (diff)
downloadlibcap-d07df10aaa02cf8cfe8047610d2f56dc0be68f1e.tar.gz
Fix miscellaneous build and lint warnings.
Addresses the issues listed here: https://bugzilla.kernel.org/show_bug.cgi?id=214579 Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
Diffstat (limited to 'Make.Rules')
-rw-r--r--Make.Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.Rules b/Make.Rules
index a0f044f..d9147fc 100644
--- a/Make.Rules
+++ b/Make.Rules
@@ -79,7 +79,7 @@ OBJCOPY := $(CROSS_COMPILE)objcopy
DEBUG = # -g -DDEBUG
WARNINGS=-Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs \
- -Winline -Wshadow
+ -Winline -Wshadow -Wunreachable-code
COPTS ?= -O2
CFLAGS ?= $(COPTS) $(DEBUG)
CFLAGS += $(WARNINGS)