Date: Mon, 6 Apr 2009 07:13:26 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190757 - head/sbin/routed Message-ID: <200904060713.n367DRUO059897@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904060713.n367DRUO059897>