commit:     676bd54875fd1309c064e857ae68ff34286dc562
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 24 18:54:13 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 19:07:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676bd548

app-benchmarks/nbench: build w/ -std=gnu17

Closes: https://bugs.gentoo.org/943907
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-benchmarks/nbench/nbench-2.2.3-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-benchmarks/nbench/nbench-2.2.3-r2.ebuild 
b/app-benchmarks/nbench/nbench-2.2.3-r2.ebuild
index 2e1a44e3fbfd..38c9465cbe97 100644
--- a/app-benchmarks/nbench/nbench-2.2.3-r2.ebuild
+++ b/app-benchmarks/nbench/nbench-2.2.3-r2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 MY_P="${PN}-byte-${PV}"
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Linux/Unix of release 2 of BYTE Magazine's BYTEmark benchmark"
 HOMEPAGE="http://www.tux.org/~mayer/linux/bmark.html";
@@ -30,6 +30,8 @@ src_prepare() {
 
 src_configure() {
        tc-export CC
+       # bug #943907
+       append-cflags -std=gnu17
 }
 
 src_install() {

Reply via email to