[grub2] Fix compiler flags to deal with -fstack-protector-strong
Peter Jones
pjones at fedoraproject.org
Mon Aug 5 14:20:13 UTC 2013
commit 739a29165e64e7c397940ae4453e98ec6053bcf0
Author: Peter Jones <pjones at redhat.com>
Date: Mon Aug 5 10:19:48 2013 -0400
Fix compiler flags to deal with -fstack-protector-strong
grub2.spec | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index 772d5f3..fc084bf 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -646,7 +646,7 @@ cd grub-efi-%{tarversion}
%configure \
CFLAGS="$(echo $RPM_OPT_FLAGS | sed \
-e 's/-O.//g' \
- -e 's/-fstack-protector//g' \
+ -e 's/-fstack-protector\(-[[:alnum:]]\+\)*//g' \
-e 's/--param=ssp-buffer-size=4//g' \
-e 's/-mregparm=3/-mregparm=4/g' \
-e 's/-fexceptions//g' \
@@ -923,6 +923,9 @@ fi
%{_datarootdir}/grub/themes/
%changelog
+* Mon Aug 05 2013 Peter Jones <pjones at redhat.com> - 2.00-24
+- Fix compiler flags to deal with -fstack-protector-strong
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.00-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list