Explicitly disable use of SSE. LLVM generates SSE by default on AMD64

and we certainly don't want that in the kernel.
This commit is contained in:
joerg 2011-06-10 03:17:35 +00:00
parent 82e9aece89
commit 59a7130266
1 changed files with 2 additions and 2 deletions

View File

@ -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