summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:20:43 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:55:59 -0400
commit16756fccbf30b9c2e587d53ba7fa8456dccc5bc7 (patch)
tree1e888bbb55b04fa257436ec52d097ee548040352
parentapp-text/sgrep: pass -std=gnu89 (diff)
downloadgentoo-16756fccbf30b9c2e587d53ba7fa8456dccc5bc7.tar.gz
gentoo-16756fccbf30b9c2e587d53ba7fa8456dccc5bc7.tar.bz2
gentoo-16756fccbf30b9c2e587d53ba7fa8456dccc5bc7.zip
dev-util/ftjam: 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>
-rw-r--r--dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild b/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild
index 806e3bc1fa14..07202ada9f35 100644
--- a/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild
+++ b/dev-util/ftjam/ftjam-2.5.3_rc2-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
MY_PV=$(ver_rs 3 "")
@@ -33,5 +33,6 @@ src_prepare() {
default
tc-export CC RANLIB
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
export AR="$(tc-getAR) ru" #720706
}