summaryrefslogtreecommitdiffstats
path: root/sbin/gbde/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/gbde/Makefile')
-rw-r--r--sbin/gbde/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/sbin/gbde/Makefile b/sbin/gbde/Makefile
index 58a992e..368edd9 100644
--- a/sbin/gbde/Makefile
+++ b/sbin/gbde/Makefile
@@ -8,7 +8,13 @@ SRCS+= rijndael-api-fst.c
SRCS+= sha2.c
SRCS+= g_bde_lock.c
+# rijndael-fst.c does evil casting things which results in warnings on
+# 64 bit machines, the test-vectors check out however, so it works right.
+.if ${MACHINE_ARCH} == "i386"
WARNS?= 5
+.else
+WARNS?= 3
+.endif
CFLAGS+= -I${.CURDIR}/../../sys
.PATH: ${.CURDIR}/../../sys/geom \
OpenPOWER on IntegriCloud