summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2017-06-23 12:38:09 -0700
committerDaniel Campbell <zlg@gentoo.org>2017-06-23 12:38:53 -0700
commitafde8cea96633a7b9a9c95fa444b7277f04ab11b (patch)
tree4ba0cdba0b5c030e62d9be9e5f77419e82aebf6a /dev-util/astyle/astyle-3.0.1.ebuild
parentsys-cluster/mpich: keyword ~arm64 (diff)
downloadgentoo-afde8cea96633a7b9a9c95fa444b7277f04ab11b.tar.gz
gentoo-afde8cea96633a7b9a9c95fa444b7277f04ab11b.tar.bz2
gentoo-afde8cea96633a7b9a9c95fa444b7277f04ab11b.zip
dev-util/astyle: Respect CXX wrt bug 622068
Thanks to mgorny for finding the issue. Gentoo-Bug: 622068 Gentoo-Bug-URL: https://bugs.gentoo.org/622068 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-util/astyle/astyle-3.0.1.ebuild')
-rw-r--r--dev-util/astyle/astyle-3.0.1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/astyle/astyle-3.0.1.ebuild b/dev-util/astyle/astyle-3.0.1.ebuild
index e32b6189e887..91f94429fc53 100644
--- a/dev-util/astyle/astyle-3.0.1.ebuild
+++ b/dev-util/astyle/astyle-3.0.1.ebuild
@@ -38,7 +38,8 @@ src_configure() {
}
src_compile() {
- emake -f ../build/gcc/Makefile -C src \
+ # ../build/clang/Makefile is identical except for CXX line.
+ emake CXX="$(tc-getCXX)" -f ../build/gcc/Makefile -C src \
${PN} \
shared \
$(usev java) \