Fix CPPFLAGS use for aarch64

Resolves: RHEL-70718

Signed-off-by: Kamal Heib <kheib@redhat.com>
This commit is contained in:
Kamal Heib 2024-12-16 04:19:51 -05:00
parent 5a6e63aee6
commit c8fe7b931e

View File

@ -1,6 +1,6 @@
Name: pmix
Version: 4.2.8
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Process Management Interface Exascale (PMIx)
License: BSD-3-Clause
URL: https://pmix.org/
@ -75,7 +75,7 @@ export CFLAGS="%{build_cflags} -Wno-unused-function -Wno-attributes"
export CPPFLAGS="$CPPFLAGS -fcf-protection"
%endif
%ifarch aarch64
export CPPFLAGS="$CPPFLAGS -mbranch-protection=bti"
export CPPFLAGS="$CPPFLAGS -mbranch-protection=standard"
%endif
%configure \
--prefix=%{_prefix} \
@ -140,6 +140,10 @@ mv test/.libs/pmix_test %{buildroot}%{_datadir}/%{name}/test/pmix_test
%{_bindir}/*
%changelog
* Mon Dec 16 2024 Kamal Heib <kheib@redhat.com> - 4.2.8-8
- Fix CPPFLAGS use for aarch64
Resolves: RHEL-70718
* Mon Dec 16 2024 Kamal Heib <kheib@redhat.com> - 4.2.8-7
- Fix rpminspect failures for aarch64
Resolves: RHEL-70718