From 5112c06e8a68b88457ea438152103115cf69fe4a Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Wed, 18 Jan 2006 22:31:22 +0000 Subject: [PATCH] fbsd-opts-20060118 add -mno-mmx -mno-3dnow -mno-sse -mno-sse2 to kernel cc flags --- src/libafs/MakefileProto.FBSD.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/libafs/MakefileProto.FBSD.in b/src/libafs/MakefileProto.FBSD.in index 4805a9d18..fd72bd201 100644 --- a/src/libafs/MakefileProto.FBSD.in +++ b/src/libafs/MakefileProto.FBSD.in @@ -31,15 +31,17 @@ AFS_OS_NONFSOBJS = \ KSRC = @BSD_KERNEL_PATH@ KBLD = @BSD_KERNEL_BUILD@ KDEFS=-Wall -ansi -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \ - -elf -mpreferred-stack-boundary=2 \ + -elf -mpreferred-stack-boundary=2 -fformat-extensions \ - -fformat-extensions \ - -include ${KBLD}/opt_global.h + -include ${KBLD}/opt_global.h \ + + -mno-mmx -mno-3dnow -mno-sse -mno-sse2 \ - -mno-align-long-strings -fformat-extensions -fno-common -ffreestanding \ - -I${KBLD} -include opt_global.h -fno-strict-aliasing + -mno-align-long-strings -fno-common -ffreestanding \ + -I${KBLD} -include opt_global.h -fno-strict-aliasing \ + DBUG = -O2 #DBUG = -O -g DEFINES= -DAFSDEBUG -DKERNEL -DAFS -DVICE -DNFS -DUFS -DINET -DQUOTA -DGETMOUNT -- 2.39.5