From: Alexis Ballier Date: Sat, 17 Jun 2017 12:00:10 +0000 (+0200) Subject: dev-libs/double-conversion: Do not use hardcoded g++ but tc-getCXX to fix cross compi... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd783ecfc01f8c5146bec201819ca3a2931758ad;p=gentoo.git dev-libs/double-conversion: Do not use hardcoded g++ but tc-getCXX to fix cross compilation. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-libs/double-conversion/double-conversion-2.0.1.ebuild b/dev-libs/double-conversion/double-conversion-2.0.1.ebuild index c7e58c05e29d..107df7ef7cf7 100644 --- a/dev-libs/double-conversion/double-conversion-2.0.1.ebuild +++ b/dev-libs/double-conversion/double-conversion-2.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=5 -inherit scons-utils eutils +inherit scons-utils eutils toolchain-funcs DESCRIPTION="Binary-decimal and decimal-binary conversion routines for IEEE doubles" HOMEPAGE="https://github.com/google/double-conversion" @@ -21,6 +21,7 @@ src_prepare() { } src_compile() { + sed -i -e "s/g++/$(tc-getCXX)/" SConstruct || die escons ${LIBNAME}.so.1 use static-libs && escons ${LIBNAME}.a }