svn commit: r286967 - head/sys/boot/efi

Warner Losh imp at FreeBSD.org
Thu Aug 20 18:31:06 UTC 2015


Author: imp
Date: Thu Aug 20 18:31:05 2015
New Revision: 286967
URL: https://svnweb.freebsd.org/changeset/base/286967

Log:
  The flags -mno-aes -mno-avx only exist for clang, not gcc, so
  add them only to the clang CFLAGS.

Modified:
  head/sys/boot/efi/Makefile.inc

Modified: head/sys/boot/efi/Makefile.inc
==============================================================================
--- head/sys/boot/efi/Makefile.inc	Thu Aug 20 18:22:06 2015	(r286966)
+++ head/sys/boot/efi/Makefile.inc	Thu Aug 20 18:31:05 2015	(r286967)
@@ -14,7 +14,8 @@ 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
 .endif
 
 


More information about the svn-src-all mailing list