summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-11-04 12:04:55 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-11-04 12:04:55 -0500
commit9e15e076c1f3e647b1f7ed7e3c12a1f23fdbe98c (patch)
treeac3c1e11ce7e4a7a1fd53459b3e0e4f9e2892188 /Makefile
parent726d78019593d5b5f192d2962f5bc975bfe85785 (diff)
downloadbfs-9e15e076c1f3e647b1f7ed7e3c12a1f23fdbe98c.tar.xz
Enable -Wsign-compare to catch bugs like 726d7801
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 21c15be..4e67cf6 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ INSTALL ?= install
MKDIR ?= mkdir -p
RM ?= rm -f
-WFLAGS ?= -Wall -Wmissing-declarations -Wstrict-prototypes
+WFLAGS ?= -Wall -Wmissing-declarations -Wstrict-prototypes -Wsign-compare
CFLAGS ?= -g $(WFLAGS)
LDFLAGS ?=
DEPFLAGS ?= -MD -MP -MF $(@:.o=.d)