diff options
author | Daniel Campbell <zlg@gentoo.org> | 2017-06-23 12:38:09 -0700 |
---|---|---|
committer | Daniel Campbell <zlg@gentoo.org> | 2017-06-23 12:38:53 -0700 |
commit | afde8cea96633a7b9a9c95fa444b7277f04ab11b (patch) | |
tree | 4ba0cdba0b5c030e62d9be9e5f77419e82aebf6a /dev-util | |
parent | sys-cluster/mpich: keyword ~arm64 (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-util/astyle/astyle-3.0.1.ebuild | 3 | ||||
-rw-r--r-- | dev-util/astyle/astyle-3.0.ebuild | 3 |
2 files changed, 4 insertions, 2 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) \ diff --git a/dev-util/astyle/astyle-3.0.ebuild b/dev-util/astyle/astyle-3.0.ebuild index 4392d25b3dfd..85544bdc8bb1 100644 --- a/dev-util/astyle/astyle-3.0.ebuild +++ b/dev-util/astyle/astyle-3.0.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) \ |