clang/llvm plugins: Build with correct security options.

This commit is contained in:
Nick Clifton 2021-06-15 14:48:49 +01:00
parent 96f1a8a19f
commit f1a1007e43
2 changed files with 12 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: annobin Name: annobin
Summary: Annotate and examine compiled binary files Summary: Annotate and examine compiled binary files
Version: 9.75 Version: 9.76
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv3+ License: GPLv3+
# Maintainer: nickc@redhat.com # Maintainer: nickc@redhat.com
@ -338,6 +338,13 @@ CONFIG_ARGS="$CONFIG_ARGS --without-annocheck"
%configure ${CONFIG_ARGS} || cat config.log %configure ${CONFIG_ARGS} || cat config.log
%set_build_flags
%ifarch %{ix86} x86_64
# FIXME: There should be a better way to do this.
export CLANG_TARGET_OPTIONS="-fcf-protection"
%endif
%make_build %make_build
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -453,6 +460,9 @@ fi
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
%changelog %changelog
* Tue Jun 15 2021 Nick Clifton <nickc@redhat.com> - 9.76-1
- clang/llvm plugins: Build with correct security options.
* Tue Jun 15 2021 Nick Clifton <nickc@redhat.com> - 9.75-1 * Tue Jun 15 2021 Nick Clifton <nickc@redhat.com> - 9.75-1
- Annocheck: Better detection of GO compiler version. - Annocheck: Better detection of GO compiler version.

View File

@ -1 +1 @@
SHA512 (annobin-9.75.tar.xz) = eeb6ffd8cd47d7f5f2a4f8fbc35092105df2a0cf9190108a5b5bc5404c9efa7e6f9d10f0b9b3f57108ddf6f04aa0195251e0be68cf51cd1113a12f5ece947bea SHA512 (annobin-9.76.tar.xz) = 1d3b66d1b00cc419fe9c38f0d4f1bf8aaff76e0ce96e8e0faed6997c25acb6e89ed44b9950d0f5a852b29bcd00c97afaa4de6c08a2f0ae7ce70a1d3a8f7a7496