aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/Makefile b/db/Makefile
index e41614a..48e2570 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