Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2016 15:30:19 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r293660 - stable/10/sys/boot/efi
Message-ID:  <201601111530.u0BFUJUL094134@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Jan 11 15:30:19 2016
New Revision: 293660
URL: https://svnweb.freebsd.org/changeset/base/293660

Log:
  MFC r286967 by imp: use -mno-aes and -mno-avx flags only with Clang
  
  The flags -mno-aes -mno-avx only exist for clang, not [base] gcc, so
  add them only to the clang CFLAGS.

Modified:
  stable/10/sys/boot/efi/Makefile.inc
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/efi/Makefile.inc
==============================================================================
--- stable/10/sys/boot/efi/Makefile.inc	Mon Jan 11 10:24:30 2016	(r293659)
+++ stable/10/sys/boot/efi/Makefile.inc	Mon Jan 11 15:30:19 2016	(r293660)
@@ -15,7 +15,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
 CFLAGS+=	-msoft-float
 .endif
 



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