Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jan 2012 17:23:04 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r229174 - stable/9/sbin/gbde
Message-ID:  <201201011723.q01HN4ul022307@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Sun Jan  1 17:23:03 2012
New Revision: 229174
URL: http://svn.freebsd.org/changeset/base/229174

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

Modified:
  stable/9/sbin/gbde/Makefile
Directory Properties:
  stable/9/sbin/gbde/   (props changed)

Modified: stable/9/sbin/gbde/Makefile
==============================================================================
--- stable/9/sbin/gbde/Makefile	Sun Jan  1 17:05:24 2012	(r229173)
+++ stable/9/sbin/gbde/Makefile	Sun Jan  1 17:23:03 2012	(r229174)
@@ -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?201201011723.q01HN4ul022307>