mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
Fix previous commit for non-x64
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
This commit is contained in:
parent
b84b21f7a2
commit
217ae25d88
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,12 @@
|
|||
-e 's/^/ -fno-strict-aliasing /' \\\
|
||||
%{nil}
|
||||
|
||||
%global host_cflags %{expand:%%(echo %{build_cflags} %{?_hardening_cflags} | %{cflags_sed})} -fstack-protector-strong -fcf-protection
|
||||
%global host_cflags_ %{expand:%%(echo %{build_cflags} %{?_hardening_cflags} | %{cflags_sed})} -fstack-protector-strong
|
||||
%ifarch x86_64
|
||||
%global host_cflags %{host_cflags_} -fcf-protection
|
||||
%else
|
||||
%global host_cflags %{host_cflags_}
|
||||
%endif
|
||||
%global legacy_host_cflags \\\
|
||||
%{expand:%%(echo %{host_cflags} | \\\
|
||||
sed \\\
|
||||
|
|
Loading…
Reference in a new issue