summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-04 15:27:21 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-04 15:27:45 +0000
commit337c113908447f8bb1537869d33e4f379345c85f (patch)
treee3cd4585a5f6a0fe5f762461c9e9530935eb96d0 /dev-lang/nim
parentapp-crypt/certbot-dns-nsone: add py3_{8,9}. Fix DISTUTILS (diff)
downloadgentoo-337c113908447f8bb1537869d33e4f379345c85f.tar.gz
gentoo-337c113908447f8bb1537869d33e4f379345c85f.tar.bz2
gentoo-337c113908447f8bb1537869d33e4f379345c85f.zip
dev-lang/nim: honor user's CXX
Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/nim')
-rw-r--r--dev-lang/nim/nim-1.4.2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-lang/nim/nim-1.4.2.ebuild b/dev-lang/nim/nim-1.4.2.ebuild
index 75756c7f47da..22f583057d90 100644
--- a/dev-lang/nim/nim-1.4.2.ebuild
+++ b/dev-lang/nim/nim-1.4.2.ebuild
@@ -45,6 +45,8 @@ src_configure() {
# Override default CC=gcc.
echo "gcc.exe = \"$(tc-getCC)\"" >> config/nim.cfg || die
echo "gcc.linkerexe = \"$(tc-getCC)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.exe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
+ echo "gcc.cpp.linkerexe = \"$(tc-getCXX)\"" >> config/nim.cfg || die
}
src_compile() {