commit: 93ac8864bfa76c8376f0aaaf0c1c00023fd5eb50
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 17 11:48:39 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 17 11:48:39 2021 +0000
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=93ac8864
toolchain.eclass: only apply patches if CTARGET is musl
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/toolchain.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 39466996..627531f2 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -556,7 +556,7 @@ do_gcc_gentoo_patches() {
tc_apply_patches "Applying uClibc patches ..."
"${WORKDIR}"/uclibc/*.patch
fi
- if [[ -n ${MUSL_VER} ]] ; then #&& [[ ${CTARGET} == *musl* ]] ;
then
+ if [[ -n ${MUSL_VER} ]] && [[ ${CTARGET} == *musl* ]] ; then
if [[ ${CATEGORY} == cross-* ]] ; then
# We don't want to apply some patches when
cross-compiling.
if [[ -d "${WORKDIR}"/musl/nocross ]] ; then