Skip to content

Commit 4805099

Browse files
committed
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 <[email protected]>
1 parent 9767b32 commit 4805099

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

app-pda/libplist/libplist-2.1.0.ebuild

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
EAPI=7
55

66
PYTHON_COMPAT=( python3_{6,7,8} )
7-
inherit autotools python-r1
7+
inherit autotools python-r1 toolchain-funcs
88

99
DESCRIPTION="Support library to deal with Apple Property Lists (Binary & XML)"
1010
HOMEPAGE="https://www.libimobiledevice.org/"
@@ -49,13 +49,16 @@ src_configure() {
4949
do_configure "$@"
5050
}
5151

52+
# Don't prefer clang.
53+
tc-export CC CXX
54+
5255
do_configure --without-cython
5356
use python && python_foreach_impl do_configure_python
5457
}
5558

5659
src_compile() {
5760
python_compile() {
58-
emake -C "${BUILD_DIR}"/cython -j1 \
61+
emake -C "${BUILD_DIR}"/cython \
5962
VPATH="${S}/cython:${native_builddir}/cython" \
6063
plist_la_LIBADD="${native_builddir}/src/libplist.la"
6164
}
@@ -73,7 +76,7 @@ src_test() {
7376

7477
src_install() {
7578
python_install() {
76-
emake -C "${BUILD_DIR}/cython" -j1 \
79+
emake -C "${BUILD_DIR}/cython" \
7780
VPATH="${S}/cython:${native_builddir}/cython" \
7881
DESTDIR="${D}" install
7982
}

0 commit comments

Comments
 (0)