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:
parent
ee7733c5eb
commit
ab37733fec
@ -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' \
|
||||
|
Loading…
Reference in New Issue
Block a user