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.
This commit is contained in:
Poul-Henning Kamp 2009-04-06 07:13:26 +00:00
parent 9ec7a1f568
commit 47e493d28c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190757

View File

@ -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 <bsd.prog.mk>