]> git.pond.sub.org Git - empserver/blobdiff - Make.mk
Tighten gcc warning options
[empserver] / Make.mk
diff --git a/Make.mk b/Make.mk
index 0acf0bafadbe60f26232ad17f14144531d2793c3..5a97d3f33bf3cd4b49f5ba99285e9bad7379aac0 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -154,8 +154,9 @@ endif
 ifeq ($(have_gcc),yes)
 CFLAGS += -fno-builtin-carg    # conflicts with our carg()
 CFLAGS += -fno-common
 ifeq ($(have_gcc),yes)
 CFLAGS += -fno-builtin-carg    # conflicts with our carg()
 CFLAGS += -fno-common
-CFLAGS += -Wall -W -Wno-unused -Wpointer-arith -Wstrict-prototypes     \
--Wmissing-prototypes -Wnested-externs -Wredundant-decls
+CFLAGS += -Wall -W -Wno-unused-parameter -Wpointer-arith       \
+-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs      \
+-Wredundant-decls
 endif
 LDLIBS += -lm
 $(client): LDLIBS += $(termlibs)
 endif
 LDLIBS += -lm
 $(client): LDLIBS += $(termlibs)