From 59a7130266ba05bec2e6a22b1aaded25408e8af0 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 10 Jun 2011 03:17:35 +0000 Subject: [PATCH] Explicitly disable use of SSE. LLVM generates SSE by default on AMD64 and we certainly don't want that in the kernel. --- sys/arch/amd64/conf/Makefile.amd64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/amd64/conf/Makefile.amd64 b/sys/arch/amd64/conf/Makefile.amd64 index 3948d589d7a6..1717a6218def 100644 --- a/sys/arch/amd64/conf/Makefile.amd64 +++ b/sys/arch/amd64/conf/Makefile.amd64 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.amd64,v 1.35 2011/05/30 15:06:32 joerg Exp $ +# $NetBSD: Makefile.amd64,v 1.36 2011/06/10 03:17:35 joerg Exp $ # Makefile for NetBSD # @@ -36,7 +36,7 @@ GENASSYM_CONF= ${AMD64}/amd64/genassym.cf DEFCOPTS= -O2 CPPFLAGS+= -Damd64 -Dx86_64 CFLAGS+= -mcmodel=kernel -CFLAGS+= -mno-red-zone +CFLAGS+= -mno-red-zone -mno-sse -mno-sse2 -mno-sse3 ## ## (3) libkern and compat