From 4ed80e7fbd76241d440fe0bcd84d8723f93b8d73 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 14 Sep 2022 01:20:37 +0100 Subject: dev-util/colm: respect CC Fixes build on pure Clang systems. There's a proper upstream fix [0] but it's too awkward to backport with our other patches and there's been a lot of other changes relating to our patches upstream anyway. Have asked for a new release. [0] https://github.com/adrian-thurston/colm/commit/bb487b1368b65a1f30fe3a59fd0c7d84bdcc483b. Closes: https://bugs.gentoo.org/771849 Signed-off-by: Sam James --- dev-util/colm/colm-0.14.7-r1.ebuild | 1 + 1 file changed, 1 insertion(+) (limited to 'dev-util/colm') diff --git a/dev-util/colm/colm-0.14.7-r1.ebuild b/dev-util/colm/colm-0.14.7-r1.ebuild index 59000e4847fa..147625389f13 100644 --- a/dev-util/colm/colm-0.14.7-r1.ebuild +++ b/dev-util/colm/colm-0.14.7-r1.ebuild @@ -36,6 +36,7 @@ src_prepare() { sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die # bug #766069 + sed -i -e "s:gcc:$(tc-getCC) ${CFLAGS}:" src/main.cc || die sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || die -- cgit v1.2.3-65-gdbad