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 _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"