diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-04-28 18:25:21 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2014-04-28 18:25:21 +0000 |
commit | a977fd0d7bc7ec14bbcf9ebfc402bf1be4e45505 (patch) | |
tree | 5ca1d71060d467ca6d7ab85d709f45d05cf173b1 | |
parent | 1bcd32c4c518c3ec561a2bd2832db2acf59ccf59 (diff) | |
download | FreeBSD-src-a977fd0d7bc7ec14bbcf9ebfc402bf1be4e45505.zip FreeBSD-src-a977fd0d7bc7ec14bbcf9ebfc402bf1be4e45505.tar.gz |
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.
-rw-r--r-- | sys/boot/amd64/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/amd64/Makefile.inc b/sys/boot/amd64/Makefile.inc index 1bc7ad8..ee96a42 100644 --- a/sys/boot/amd64/Makefile.inc +++ b/sys/boot/amd64/Makefile.inc @@ -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" |