commit:     4805099cb791315b53f0416b336b35b116f183f6
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 13:29:57 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 13:31:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4805099c

app-pda/libplist: Don't prefer clang in 2.1.0

Closes: https://bugs.gentoo.org/714076
Package-Manager: Portage-2.3.96, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 app-pda/libplist/libplist-2.1.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/app-pda/libplist/libplist-2.1.0.ebuild 
b/app-pda/libplist/libplist-2.1.0.ebuild
index c3222d61087..7b342d04b16 100644
--- a/app-pda/libplist/libplist-2.1.0.ebuild
+++ b/app-pda/libplist/libplist-2.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools python-r1
+inherit autotools python-r1 toolchain-funcs
 
 DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
 HOMEPAGE="https://www.libimobiledevice.org/";
@@ -49,13 +49,16 @@ src_configure() {
                do_configure "$@"
        }
 
+       # Don't prefer clang.
+       tc-export CC CXX
+
        do_configure --without-cython
        use python && python_foreach_impl do_configure_python
 }
 
 src_compile() {
        python_compile() {
-               emake -C "${BUILD_DIR}"/cython -j1 \
+               emake -C "${BUILD_DIR}"/cython \
                        VPATH="${S}/cython:${native_builddir}/cython" \
                        plist_la_LIBADD="${native_builddir}/src/libplist.la"
        }
@@ -73,7 +76,7 @@ src_test() {
 
 src_install() {
        python_install() {
-               emake -C "${BUILD_DIR}/cython" -j1 \
+               emake -C "${BUILD_DIR}/cython" \
                        VPATH="${S}/cython:${native_builddir}/cython" \
                        DESTDIR="${D}" install
        }

Reply via email to