From 237a458ae37ae89b90adedea90c37313d70b412c Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Feb 17 2012 17:00:10 +0000 Subject: Build with -Os (bug 782144) --- diff --git a/grub2.spec b/grub2.spec index 643fa43..e0d99da 100644 --- a/grub2.spec +++ b/grub2.spec @@ -18,7 +18,7 @@ Name: grub2 Epoch: 1 Version: 1.99 -Release: 13%{?dist} +Release: 13%{?dist}.1 Summary: Bootloader with support for Linux, Multiboot and more Group: System Environment/Base @@ -109,6 +109,7 @@ cd grub-efi-%{version} ./autogen.sh %configure \ CFLAGS="$(echo $RPM_OPT_FLAGS | sed \ + -e 's/-O.//g' \ -e 's/-fstack-protector//g' \ -e 's/--param=ssp-buffer-size=4//g' \ -e 's/-mregparm=3/-mregparm=4/g' \ @@ -364,6 +365,9 @@ fi %endif %changelog +* Fri Feb 17 2012 Orion Poplawski - 1:1.99-13.1 +- Build with -Os (bug 782144) + * Thu Dec 08 2011 Adam Williamson - 1.99-13 - fix hardwired call to grub-probe in 30_os-prober (rhbz#737203)