Spec File: Enable AArch64 BTI testing for all binaries.
Resolves: RHEL-526
This commit is contained in:
parent
16b3a92f76
commit
2c1a8d319c
@ -2,7 +2,7 @@
|
|||||||
Name: annobin
|
Name: annobin
|
||||||
Summary: Annotate and examine compiled binary files
|
Summary: Annotate and examine compiled binary files
|
||||||
Version: 12.44
|
Version: 12.44
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later
|
License: GPL-3.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND GFDL-1.3-or-later
|
||||||
URL: https://sourceware.org/annobin/
|
URL: https://sourceware.org/annobin/
|
||||||
# Maintainer: nickc@redhat.com
|
# Maintainer: nickc@redhat.com
|
||||||
@ -363,11 +363,8 @@ CONFIG_ARGS="$CONFIG_ARGS --without-tests"
|
|||||||
%if %{without annocheck}
|
%if %{without annocheck}
|
||||||
CONFIG_ARGS="$CONFIG_ARGS --without-annocheck"
|
CONFIG_ARGS="$CONFIG_ARGS --without-annocheck"
|
||||||
%else
|
%else
|
||||||
# Fedora supports AArch64's -mbranch-protection=bti, RHEL does not.
|
|
||||||
%if 0%{?fedora} != 0
|
|
||||||
export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1"
|
export CFLAGS="$CFLAGS -DAARCH64_BRANCH_PROTECTION_SUPPORTED=1"
|
||||||
%endif
|
%endif
|
||||||
%endif
|
|
||||||
|
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
|
|
||||||
@ -529,6 +526,9 @@ make check
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 20 2024 Nick Clifron <nickc@redhat.com> - 12.44-2
|
||||||
|
- Spec File: Enable AArch64 BTI testing for all binaries. (RHEL-526)
|
||||||
|
|
||||||
* Mon Mar 18 2024 Nick Clifron <nickc@redhat.com> - 12.44-1
|
* Mon Mar 18 2024 Nick Clifron <nickc@redhat.com> - 12.44-1
|
||||||
- Clang Plugin: Fix building with Clang 18. (RHEL-27727)
|
- Clang Plugin: Fix building with Clang 18. (RHEL-27727)
|
||||||
- Configure: Remove check for FrontendPluginRegistry.h header as it is stored in a non-standard location on Debian systems.
|
- Configure: Remove check for FrontendPluginRegistry.h header as it is stored in a non-standard location on Debian systems.
|
||||||
|
Loading…
Reference in New Issue
Block a user