Date: Sat, 17 Dec 2011 00:14:41 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228610 - head/sbin/gbde Message-ID: <201112170014.pBH0EfGY033908@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Sat Dec 17 00:14:40 2011 New Revision: 228610 URL: http://svn.freebsd.org/changeset/base/228610 Log: Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the alignment warnings than using WARNS=3, and it also works for clang. MFC after: 1 week Modified: head/sbin/gbde/Makefile Modified: head/sbin/gbde/Makefile ============================================================================== --- head/sbin/gbde/Makefile Fri Dec 16 23:46:05 2011 (r228609) +++ head/sbin/gbde/Makefile Sat Dec 17 00:14:40 2011 (r228610) @@ -7,11 +7,9 @@ SRCS+= rijndael-api-fst.c SRCS+= sha2.c SRCS+= g_bde_lock.c -# rijndael-fst.c does evil casting things which results in warnings on -# 64 bit machines, the test-vectors check out however, so it works right. -.if ${MACHINE_CPUARCH} != "i386" -WARNS?= 3 -.endif +# rijndael-fst.c does evil casting things which can results in warnings, +# the test-vectors check out however, so it works right. +NO_WCAST_ALIGN= CFLAGS+= -I${.CURDIR}/../../sys .PATH: ${.CURDIR}/../../sys/geom/bde \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112170014.pBH0EfGY033908>