Remove _hardened_build

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 <ltao@redhat.com>
Signed-off-by: Timothée Ravier <tim@siosm.fr>
This commit is contained in:
Tao Liu 2023-07-28 16:16:45 +08:00
parent 9a42c6fca7
commit 287b4e3685

View File

@ -19,8 +19,6 @@ BuildRequires: numactl-devel
Requires: numactl-libs Requires: numactl-libs
%endif %endif
%define _hardened_build 1
ExcludeArch: s390 s390x ExcludeArch: s390 s390x
Patch1: irqbalance-1.8.0-env-file-path.patch Patch1: irqbalance-1.8.0-env-file-path.patch