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 <pjones@redhat.com>
This commit is contained in:
Peter Jones 2014-09-10 15:00:22 -04:00
parent ee7733c5eb
commit ab37733fec

View File

@ -333,6 +333,7 @@ cd grub-efi-%{tarversion}
CFLAGS="$(echo $RPM_OPT_FLAGS | sed \ CFLAGS="$(echo $RPM_OPT_FLAGS | sed \
-e 's/-O.//g' \ -e 's/-O.//g' \
-e 's/-fstack-protector[[:alpha:]-]\+//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/--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/-fexceptions//g' \
@ -384,6 +385,7 @@ cd grub-%{tarversion}
CFLAGS="$(echo $RPM_OPT_FLAGS | sed \ CFLAGS="$(echo $RPM_OPT_FLAGS | sed \
-e 's/-O.//g' \ -e 's/-O.//g' \
-e 's/-fstack-protector[[:alpha:]-]\+//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/--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/-fexceptions//g' \