From a5af0fc49b212f90893d3db7c1fbd703f0ed170b Mon Sep 17 00:00:00 2001 From: Miroslav Rezanina Date: Thu, 5 Jan 2023 05:10:59 -0500 Subject: [PATCH] * Thu Jan 05 2023 Miroslav Rezanina - 20221207gitfff6d81270b5-2 - edk2-use-rpm-build-flags-rh-only.patch [RHEL-177] - Resolves: RHEL-177 (Enable GNU_RELRO security protection) --- edk2.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/edk2.spec b/edk2.spec index 7bfa004..f23c654 100644 --- a/edk2.spec +++ b/edk2.spec @@ -16,7 +16,7 @@ ExclusiveArch: x86_64 aarch64 Name: edk2 Version: %{GITDATE}git%{GITCOMMIT} -Release: 1%{?dist} +Release: 2%{?dist} Summary: UEFI firmware for 64-bit virtual machines License: BSD-2-Clause-Patent and OpenSSL and MIT URL: http://www.tianocore.org @@ -215,6 +215,9 @@ build_iso() { -o "$ISO_IMAGE" "$UEFI_SHELL_IMAGE" } +export EXTRA_OPTFLAGS="%{optflags}" +export EXTRA_LDFLAGS="%{__global_ldflags}" + touch OvmfPkg/AmdSev/Grub/grub.efi # dummy %if %{build_ovmf} @@ -372,6 +375,11 @@ install -m 0644 \ %changelog +* Thu Jan 05 2023 Miroslav Rezanina - 20221207gitfff6d81270b5-2 +- edk2-use-rpm-build-flags-rh-only.patch [RHEL-177] +- Resolves: RHEL-177 + (Enable GNU_RELRO security protection) + * Thu Dec 15 2022 Camilla Conte - 20221207gitfff6d81270b5-1 - Rebase to edk2-stable202211 tag Resolves: RHEL-119