GCC Plugin: Fix bug extracing the value of target specific command line options.

Resolves: RHEL-526
This commit is contained in:
Nick Clifton 2024-03-21 14:14:59 +00:00
parent 2c1a8d319c
commit 090f56f7e9
2 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
Name: annobin
Summary: Annotate and examine compiled binary files
Version: 12.44
Release: 2%{?dist}
Version: 12.45
Release: 1%{?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
URL: https://sourceware.org/annobin/
# Maintainer: nickc@redhat.com
@ -372,17 +372,14 @@ export CFLAGS="$CFLAGS $RPM_OPT_FLAGS %build_cflags"
export LDFLAGS="$LDFLAGS %build_ldflags"
# Set target-specific security options to be used when building the
# Clang and LLVM plugins. FIXME: There should be a better way to do
# this.
# Clang and LLVM plugins.
# FIXME: There should be a better way to do this.
%ifarch %{ix86} x86_64
export CLANG_TARGET_OPTIONS="-fcf-protection"
%endif
%ifarch aarch64
%if 0%{?fedora} != 0
export CLANG_TARGET_OPTIONS="-mbranch-protection=standard"
%endif
%endif
CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" CXXFLAGS="$CFLAGS" %configure ${CONFIG_ARGS} || cat config.log
@ -526,6 +523,9 @@ make check
#---------------------------------------------------------------------------------
%changelog
* Thu Mar 21 2024 Nick Clifton <nickc@redhat.com> - 12.45-1
- GCC Plugin: Fix bug extracing the value of target specific command line options. (RHEL-526)
* Wed Mar 20 2024 Nick Clifron <nickc@redhat.com> - 12.44-2
- Spec File: Enable AArch64 BTI testing for all binaries. (RHEL-526)

View File

@ -1 +1 @@
SHA512 (annobin-12.44.tar.xz) = 9da79cbeb34ce3f9871e214f7af13ac6765fe526593206612bffee0de592ae2745415f91048af155632c26d608ed094d59770388c414c31ca4dc991f0b5acf29
SHA512 (annobin-12.45.tar.xz) = 52043e37021463b46f2c103db53dd04ba478170f6bab607b05e430ecfd77c2d7c5465a7b1dd26301effe1125b4653108561ced685401eece1fa882824b6f950b