summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/double-conversion/double-conversion-2.0.1.ebuild')
-rw-r--r--dev-libs/double-conversion/double-conversion-2.0.1.ebuild3
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
}