diff --git a/redhat-hardened-cc1 b/redhat-hardened-cc1 index fc54bcb..a369517 100644 --- a/redhat-hardened-cc1 +++ b/redhat-hardened-cc1 @@ -1,2 +1,5 @@ *cc1_options: + %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} + +*cpp_options: ++ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}} diff --git a/redhat-rpm-config.spec b/redhat-rpm-config.spec index 2113800..2b12228 100644 --- a/redhat-rpm-config.spec +++ b/redhat-rpm-config.spec @@ -6,7 +6,7 @@ Summary: Red Hat specific rpm configuration files Name: redhat-rpm-config -Version: 203 +Version: 204 Release: 1%{?dist} # No version specified. License: GPL+ @@ -254,6 +254,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua %doc buildflags.md %changelog +* Tue Sep 26 2023 Florian Weimer - 204-1 +- Enable PIC mode for assembler files (RHEL-6298) + * Wed Sep 13 2023 Florian Weimer - 203-1 - Rebuild against more recent downstream branch (#2234024)