Skip to contentSkip to conversation

distutils3: pass build arguments when doing a clean

PATCH New Ross Burton 1 participant 1 message Jul 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 distutils3: pass build arguments when doing a clean

We should pass the build arguments to setup.py when doing a clean, because sometimes the arguments are required for setup.py get started.

---
 meta/classes/distutils3.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/distutils3.bbclass +1 -1
index 99ad64d287d..d4b92a3bb26 100644
@@ -10,7 +10,7 @@ DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \
 
 distutils3_do_configure() {
 	if [ "${CLEANBROKEN}" != "1" ] ; then
-		${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean
+		${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py clean ${DISTUTILS_BUILD_ARGS}
 	fi
 }
 
Signature · 1 line
2.11.0