From f1a1007e431fffd90175ffbad0f9c5c2bd32527d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Jun 2021 14:48:49 +0100 Subject: [PATCH] clang/llvm plugins: Build with correct security options. --- annobin.spec | 12 +++++++++++- sources | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/annobin.spec b/annobin.spec index e54e516..eb3d247 100644 --- a/annobin.spec +++ b/annobin.spec @@ -1,7 +1,7 @@ Name: annobin Summary: Annotate and examine compiled binary files -Version: 9.75 +Version: 9.76 Release: 1%{?dist} License: GPLv3+ # Maintainer: nickc@redhat.com @@ -338,6 +338,13 @@ CONFIG_ARGS="$CONFIG_ARGS --without-annocheck" %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 #--------------------------------------------------------------------------------- @@ -453,6 +460,9 @@ fi #--------------------------------------------------------------------------------- %changelog +* Tue Jun 15 2021 Nick Clifton - 9.76-1 +- clang/llvm plugins: Build with correct security options. + * Tue Jun 15 2021 Nick Clifton - 9.75-1 - Annocheck: Better detection of GO compiler version. diff --git a/sources b/sources index dec5077..a1a655c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (annobin-9.75.tar.xz) = eeb6ffd8cd47d7f5f2a4f8fbc35092105df2a0cf9190108a5b5bc5404c9efa7e6f9d10f0b9b3f57108ddf6f04aa0195251e0be68cf51cd1113a12f5ece947bea +SHA512 (annobin-9.76.tar.xz) = 1d3b66d1b00cc419fe9c38f0d4f1bf8aaff76e0ce96e8e0faed6997c25acb6e89ed44b9950d0f5a852b29bcd00c97afaa4de6c08a2f0ae7ce70a1d3a8f7a7496