svn commit: r265057 - head/sys/boot/amd64
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Apr 28 18:25:22 UTC 2014
Author: nwhitehorn
Date: Mon Apr 28 18:25:21 2014
New Revision: 265057
URL: http://svnweb.freebsd.org/changeset/base/265057
Log:
Turn off various fancy instruction sets, as well as deduplicate some options.
This makes the EFI loader build work with CPUTYPE=native in make.conf on
my Core i5.
Modified:
head/sys/boot/amd64/Makefile.inc
Modified: head/sys/boot/amd64/Makefile.inc
==============================================================================
--- head/sys/boot/amd64/Makefile.inc Mon Apr 28 18:06:11 2014 (r265056)
+++ head/sys/boot/amd64/Makefile.inc Mon Apr 28 18:25:21 2014 (r265057)
@@ -4,8 +4,9 @@
BINDIR?= /boot
+# See conf/kern.mk for the correct set of these
CFLAGS+= -ffreestanding
-CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
+CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx -msoft-float
LDFLAGS+= -nostdlib
.include "../Makefile.inc"
More information about the svn-src-all
mailing list