svn commit: r190757 - head/sbin/routed

Poul-Henning Kamp phk at FreeBSD.org
Mon Apr 6 00:13:28 PDT 2009


Author: phk
Date: Mon Apr  6 07:13:26 2009
New Revision: 190757
URL: http://svn.freebsd.org/changeset/base/190757

Log:
  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.

Modified:
  head/sbin/routed/Makefile

Modified: head/sbin/routed/Makefile
==============================================================================
--- head/sbin/routed/Makefile	Mon Apr  6 02:29:28 2009	(r190756)
+++ head/sbin/routed/Makefile	Mon Apr  6 07:13:26 2009	(r190757)
@@ -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>


More information about the svn-src-all mailing list