Index: stable/10/sys/boot/efi/Makefile.inc =================================================================== --- stable/10/sys/boot/efi/Makefile.inc (revision 293659) +++ stable/10/sys/boot/efi/Makefile.inc (revision 293660) @@ -1,23 +1,24 @@ # $FreeBSD$ BINDIR?= /boot .if ${MACHINE_CPUARCH} == "i386" CFLAGS+= -march=i386 CFLAGS+= -msoft-float .endif # Options used when building app-specific efi components # See conf/kern.mk for the correct set of these CFLAGS+= -ffreestanding -Wformat LDFLAGS+= -nostdlib .if ${MACHINE_CPUARCH} == "amd64" CFLAGS+= -fshort-wchar CFLAGS+= -mno-red-zone -CFLAGS+= -mno-mmx -mno-sse -mno-aes -mno-avx +CFLAGS+= -mno-mmx -mno-sse +CFLAGS.clang+= -mno-aes -mno-avx CFLAGS+= -msoft-float .endif .include "../Makefile.inc" Index: stable/10 =================================================================== --- stable/10 (revision 293659) +++ stable/10 (revision 293660) Property changes on: stable/10 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r286967