From 57e132e859ee4c86caf635ede6aa9f9eb94a41ee Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 30 Oct 2023 07:12:07 +0000 Subject: [PATCH] eclass/flag-o-matic: Sync with Gentoo It's from Gentoo commit 7b8bd09d4c674fdbf253b1997930ebcc2f958936. --- .../src/third_party/portage-stable/eclass/flag-o-matic.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/flag-o-matic.eclass b/sdk_container/src/third_party/portage-stable/eclass/flag-o-matic.eclass index 382573b806..58a14178f3 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/flag-o-matic.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/flag-o-matic.eclass @@ -57,8 +57,8 @@ _setup-allowed-flags() { -fbounds-check -fbounds-checking -fno-PIE -fno-pie -nopie -no-pie -fharden-compares -fharden-conditional-branches - -fharden-control-flow-redundancy -fhardcfr-skip-leaf - -fhardcfr-check-exceptions -fhardcfr-check-returning-calls + -fharden-control-flow-redundancy -fno-harden-control-flow-redundancy + -fhardcfr-skip-leaf -fhardcfr-check-exceptions -fhardcfr-check-returning-calls '-fhardcfr-check-noreturn-calls=*' # Spectre mitigations, bug #646076 '-mindirect-branch=*'