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>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to