Revert "Disable hardened build (GCC 13, binutils 2.40); Test"

This reverts commit e0d4dc517f.

This worked. TEXTREL from logind is gone.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2023-04-26 15:36:38 +03:00
parent e0d4dc517f
commit 629f2386ad
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 1 additions and 9 deletions

View File

@ -10,8 +10,6 @@
%global system_unit_dir %{pkgdir}/system
%global user_unit_dir %{pkgdir}/user
%undefine _hardened_build
%if 0%{?__isa_bits} == 64
%global elf_bits (64bit)
%global elf_suffix ()%{elf_bits}
@ -35,7 +33,7 @@ Version: 253.2
# determine the build information from local checkout
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
%endif
Release: %autorelease -e 3.riscv64
Release: %autorelease -e 2.riscv64
%global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)
@ -532,8 +530,6 @@ package and is meant for use in exitrds.
%prep
%autosetup -n %{?commit:%{name}%{?stable:-stable}-%{commit}}%{!?commit:%{name}%{?stable:-stable}-%{version_no_tilde}} -p1
%undefine _hardened_build
# We want to update sd-boot from packaging scriptlets after package update.
# Let's disable the service.
sed -r -i '/^enable systemd-boot-update.service/d' presets/90-systemd.preset
@ -551,8 +547,6 @@ fi
%endif
%build
%undefine _hardened_build
%global ntpvendor %(source /etc/os-release; echo ${ID})
%{!?ntpvendor: echo 'NTP vendor zone is not set!'; exit 1}
@ -690,8 +684,6 @@ if ! diff -u %{SOURCE1} ${new_triggers}; then
fi
%install
%undefine _hardened_build
%meson_install
# udev links