From b5d970336b05262f7e306d41cb85126279836bcb Mon Sep 17 00:00:00 2001 From: pooka Date: Thu, 1 Jan 2009 22:16:35 +0000 Subject: [PATCH] disable strict aliasing to mirror kernel build flags --- sys/rump/Makefile.rump | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/rump/Makefile.rump b/sys/rump/Makefile.rump index 981f8b504416..b0391ec611cf 100644 --- a/sys/rump/Makefile.rump +++ b/sys/rump/Makefile.rump @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.rump,v 1.21 2009/01/01 19:43:57 pooka Exp $ +# $NetBSD: Makefile.rump,v 1.22 2009/01/01 22:16:35 pooka Exp $ # WARNS?= 4 @@ -11,7 +11,7 @@ NOLINT= # kernel code CPPFLAGS:= -I${RUMPTOP}/include ${CPPFLAGS} .endif -CFLAGS+= -ffreestanding +CFLAGS+= -ffreestanding -fno-strict-aliasing CPPFLAGS+= -D_RUMPKERNEL # XXX: this should die CPPFLAGS+= -D_KERNEL -DMULTIPROCESSOR -D_MODULE CPPFLAGS+= -DMAXUSERS=32