[grub2/f16] use -Os for regular grub2 as well as grub2-efi (#782144 again)
Adam Williamson
adamwill at fedoraproject.org
Mon Mar 12 15:58:28 UTC 2012
commit e20c5599b53c597a17ccf4263b16ba4f60016391
Author: Adam Williamson <awilliam at redhat.com>
Date: Mon Mar 12 08:58:07 2012 -0700
use -Os for regular grub2 as well as grub2-efi (#782144 again)
grub2.spec | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index e0d99da..9248124 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -18,7 +18,7 @@
Name: grub2
Epoch: 1
Version: 1.99
-Release: 13%{?dist}.1
+Release: 13%{?dist}.2
Summary: Bootloader with support for Linux, Multiboot and more
Group: System Environment/Base
@@ -142,6 +142,7 @@ PLATFORM=pc
%endif
%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' \
@@ -365,6 +366,10 @@ fi
%endif
%changelog
+* Mon Mar 12 2012 Adam Williamson <awilliam at redhat.com> - 1:1.99-13.2
+- Build with -Os for both grub2-efi and regular grub2 (complete fix for
+ 782144) (thanks Ian Collier)
+
* Fri Feb 17 2012 Orion Poplawski <orion at cora.nwra.com> - 1:1.99-13.1
- Build with -Os (bug 782144)
More information about the scm-commits
mailing list