From ab37733fec4b63c56ffd0ec06716c7d1b0b4719c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Wed, 10 Sep 2014 15:00:22 -0400 Subject: [PATCH] Don't specify -Wp,-D_FORTIFY_SOURCE; it makes no sense with other flags. This option just generates a lot of I/O on stdout during the build... Signed-off-by: Peter Jones --- grub2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/grub2.spec b/grub2.spec index 4542688..598d265 100644 --- a/grub2.spec +++ b/grub2.spec @@ -333,6 +333,7 @@ cd grub-efi-%{tarversion} CFLAGS="$(echo $RPM_OPT_FLAGS | sed \ -e 's/-O.//g' \ -e 's/-fstack-protector[[:alpha:]-]\+//g' \ + -e 's/-Wp,-D_FORTIFY_SOURCE=[[:digit:]]\+//g' \ -e 's/--param=ssp-buffer-size=4//g' \ -e 's/-mregparm=3/-mregparm=4/g' \ -e 's/-fexceptions//g' \ @@ -384,6 +385,7 @@ cd grub-%{tarversion} CFLAGS="$(echo $RPM_OPT_FLAGS | sed \ -e 's/-O.//g' \ -e 's/-fstack-protector[[:alpha:]-]\+//g' \ + -e 's/-Wp,-D_FORTIFY_SOURCE=[[:digit:]]\+//g' \ -e 's/--param=ssp-buffer-size=4//g' \ -e 's/-mregparm=3/-mregparm=4/g' \ -e 's/-fexceptions//g' \