diff options
author | phk <phk@FreeBSD.org> | 2009-04-06 07:13:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2009-04-06 07:13:26 +0000 |
commit | d5854485ac15ebf50516e5e04f54c0fa6c9cd281 (patch) | |
tree | 83c88741cec1fdffb5d636ff73cd6aad00edbcbe /sbin/routed | |
parent | 3726ab2d40af5a8c166ee79adddb02209b6818f8 (diff) | |
download | FreeBSD-src-d5854485ac15ebf50516e5e04f54c0fa6c9cd281.zip FreeBSD-src-d5854485ac15ebf50516e5e04f54c0fa6c9cd281.tar.gz |
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.
Diffstat (limited to 'sbin/routed')
-rw-r--r-- | sbin/routed/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/routed/Makefile b/sbin/routed/Makefile index c4abdba..99b07f5 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 <bsd.prog.mk> |