Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2015 18:31:06 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r286967 - head/sys/boot/efi
Message-ID:  <201508201831.t7KIV6Vn076975@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508201831.t7KIV6Vn076975>