From 9e224b14295320152ea16729ae6b2ca8e1409a79 Mon Sep 17 00:00:00 2001 From: Michael Young Date: Mar 01 2017 22:31:21 +0000 Subject: make sure efi isn't built on i686 --- diff --git a/xen.spec b/xen.spec index fc2f647..1b89710 100644 --- a/xen.spec +++ b/xen.spec @@ -50,7 +50,7 @@ Summary: Xen is a virtual machine monitor Name: xen Version: 4.8.0 -Release: 7%{?dist} +Release: 8%{?dist} Group: Development/Libraries License: GPLv2+ and LGPLv2+ and BSD URL: http://xen.org/ @@ -400,6 +400,7 @@ export EXTRA_CFLAGS_XEN_TOOLS="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_TRADITIONAL="$RPM_OPT_FLAGS" export EXTRA_CFLAGS_QEMU_XEN="$RPM_OPT_FLAGS" %if %build_crosshyp +%define efi_flags LD_EFI=false XEN_TARGET_ARCH=x86_64 make %{?_smp_mflags} %{?efi_flags} prefix=/usr xen CC="/usr/bin/x86_64-linux-gnu-gcc `echo $RPM_OPT_FLAGS | sed -e 's/-m32//g' -e 's/-march=i686//g' -e 's/-mtune=atom//g'`" %else %ifarch armv7hl @@ -873,6 +874,9 @@ rm -rf %{buildroot} %endif %changelog +* Wed Mar 01 2017 Michael Young - 4.8.0-8 +- make sure efi isn't built on i686 + * Wed Mar 01 2017 Michael Young - 4.8.0-7 - actually include one of the XSA-209 patches - mingw64-binutils no longer needed for building efi for x86_64 on fc26+