[Libreoffice-commits] core.git: solenv/gbuild

Stephan Bergmann sbergman at redhat.com
Sat Oct 28 02:23:45 UTC 2017


 solenv/gbuild/LinkTarget.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit df9edbcd2883cec2d0596133131cfbc220dee91f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Oct 27 16:10:45 2017 +0200

    Work around "xargs: environment is too large for exec" errors on Windows
    
    ...when e.g. doing 'make sal.clean'
    
    Change-Id: I63c13dd010cf8d24f9548cf2fe089067381a4efe
    Reviewed-on: https://gerrit.libreoffice.org/43948
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index d75b7fe1e355..6c7bfa09d1f1 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -538,7 +538,7 @@ $(WORKDIR)/Clean/LinkTarget/% :
 		$(call gb_LinkTarget_get_objects_list,$(LINKTARGET)) \
 		$(ILIBTARGET) \
 		$(AUXTARGETS)) && \
-		cat $${RESPONSEFILE} /dev/null | xargs -n 200 rm -fr && \
+		cat $${RESPONSEFILE} /dev/null | $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") xargs -n 200 rm -fr && \
 		rm -f $${RESPONSEFILE}
 
 


More information about the Libreoffice-commits mailing list