From 287b4e36856f6eb561d5d1d7e6dadcc2db6b4121 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Fri, 28 Jul 2023 16:16:45 +0800 Subject: [PATCH] Remove _hardened_build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit According to bz983612, the original purpose of _hardened_build is to enable -fPIE, currently -fPIE is included by redhat-rpm-config, which is always introduced when build the rpm. So remove it. Signed-off-by: Tao Liu Signed-off-by: Timothée Ravier --- irqbalance.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/irqbalance.spec b/irqbalance.spec index 5dba431..b5afce3 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -19,8 +19,6 @@ BuildRequires: numactl-devel Requires: numactl-libs %endif -%define _hardened_build 1 - ExcludeArch: s390 s390x Patch1: irqbalance-1.8.0-env-file-path.patch