[grub2] fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)

Peter Jones pjones at fedoraproject.org
Mon Nov 7 16:45:31 UTC 2011


commit d5f74283a035656c4e639b61f7bec5971176423a
Author: Mads Kiilerich <mads at kiilerich.com>
Date:   Thu Oct 27 17:09:02 2011 +0200

    fix sed syntax error preventing use of $RPM_OPT_FLAGS (#704820)

 grub2.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index bdfef89..c2006f8 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -107,7 +107,7 @@ cd grub-efi-%{version}
 	CFLAGS="$(echo $RPM_OPT_FLAGS | sed			\
 		-e 's/-fstack-protector//g'			\
 		-e 's/--param=ssp-buffer-size=4//g'		\
-		-e 's/-mregparm=3/-mregparm=4//g'		\
+		-e 's/-mregparm=3/-mregparm=4/g'		\
 		-e 's/-fexceptions//g'				\
 		-e 's/-fasynchronous-unwind-tables//g' )"	\
 	TARGET_LDFLAGS=-static					\
@@ -139,7 +139,7 @@ PLATFORM=pc
 	CFLAGS="$(echo $RPM_OPT_FLAGS | sed			\
 		-e 's/-fstack-protector//g'			\
 		-e 's/--param=ssp-buffer-size=4//g'		\
-		-e 's/-mregparm=3/-mregparm=4//g'		\
+		-e 's/-mregparm=3/-mregparm=4/g'		\
 		-e 's/-fexceptions//g'				\
 		-e 's/-m64//g'					\
 		-e 's/-fasynchronous-unwind-tables//g' )"	\


More information about the scm-commits mailing list