commit:     d79cf872e666f33a4b8ff18b652b49e6331935b5
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 26 00:08:59 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jun 26 00:10:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d79cf872

app-benchmarks/interbench: fix compilation without optimizations

Closes: https://bugs.gentoo.org/794748
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-benchmarks/interbench/interbench-0.31.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-benchmarks/interbench/interbench-0.31.ebuild 
b/app-benchmarks/interbench/interbench-0.31.ebuild
index b77a5a4b118..9735d348f47 100644
--- a/app-benchmarks/interbench/interbench-0.31.ebuild
+++ b/app-benchmarks/interbench/interbench-0.31.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="A Linux interactivity benchmark"
 HOMEPAGE="https://github.com/ckolivas/interbench/";
@@ -26,6 +26,9 @@ DOCS=(
 src_prepare() {
        default
 
+       # Inline will fail, if optimizations are turned off
+       append-cflags -std=gnu89
+
        tc-export CC
 }
 

Reply via email to