From 47e493d28c86d101f8da61a25e4ccce0c7ae6db0 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 6 Apr 2009 07:13:26 +0000 Subject: [PATCH] Only raise WARNS to 6 on i386 and amd64, strict alignment platforms still barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution. --- sbin/routed/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile index c4abdba0f67..99b07f59567 100644 --- a/sbin/routed/Makefile +++ b/sbin/routed/Makefile @@ -7,6 +7,10 @@ MAN= routed.8 SUBDIR= rtquery LDADD= -lmd DPADD= ${LIBMD} +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" WARNS?= 6 +.else +WARNS?= 0 +.endif .include