diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-06-17 14:00:10 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-06-17 16:41:20 +0200 |
commit | bd783ecfc01f8c5146bec201819ca3a2931758ad (patch) | |
tree | 884b8ab871a34784f88392a3ca7c78ef97fdb125 /dev-libs/double-conversion | |
parent | dev-libs/double-conversion: keyword ~arm64 (diff) | |
download | gentoo-bd783ecfc01f8c5146bec201819ca3a2931758ad.tar.gz gentoo-bd783ecfc01f8c5146bec201819ca3a2931758ad.tar.bz2 gentoo-bd783ecfc01f8c5146bec201819ca3a2931758ad.zip |
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
Diffstat (limited to 'dev-libs/double-conversion')
-rw-r--r-- | dev-libs/double-conversion/double-conversion-2.0.1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |