about summary refs log tree commit diff
path: root/db/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'db/Makefile')
-rw-r--r--db/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/Makefile b/db/Makefile
index e41614af38..48e2570c6c 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -26,3 +26,10 @@ distribute	:= compat.h					\
 include ../Rules
 
 CPPFLAGS += -D__DBINTERFACE_PRIVATE
+
+# This file defines some static functions for alternative hash algorithms
+# that are not actually used.
+CFLAGS-hash_func.c := -Wno-unused
+
+# The db code outsmarts the compiler frequently.
+override CFLAGS += -Wno-uninitialized