summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:19:14 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:55:59 -0400
commit5826c9ff5ec5feeb1890efd6d2c4a133b04e526c (patch)
tree1ede99cd88b594848c03c95245397dd53d227bba /app-benchmarks/bonnie
parentmedia-libs/volpack: respect flags for makeopts and CBUILD env (diff)
downloadgentoo-5826c9ff5ec5feeb1890efd6d2c4a133b04e526c.tar.gz
gentoo-5826c9ff5ec5feeb1890efd6d2c4a133b04e526c.tar.bz2
gentoo-5826c9ff5ec5feeb1890efd6d2c4a133b04e526c.zip
app-benchmarks/bonnie: pass -std=gnu89
Does not build with `clang -std=c2x`, early workaround for when this will become a default. (not actively hunting for these, merely revisiting packages previously looked at for clang16 even if not an issue "yet"). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-benchmarks/bonnie')
-rw-r--r--app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild
index 2ab46e265b61..075d22f8e1b7 100644
--- a/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild
+++ b/app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Performance Test of Filesystem I/O using standard C library calls"
HOMEPAGE="https://www.textuality.com/bonnie/"
@@ -22,6 +22,7 @@ PATCHES=(
src_compile() {
tc-export CC
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
emake -f /dev/null Bonnie
}