summaryrefslogtreecommitdiff
path: root/solenv/gbuild/Package.mk
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-10 15:07:24 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-12-13 15:04:01 +0000
commitf127fa685dfe4999a2aab24e7b26dca5ab9919fb (patch)
treea4c3103be9637e25b5e7d1e52ac92be4921002f7 /solenv/gbuild/Package.mk
parent57c5d044dc16f488788584851e8b9cc0cf98e8e0 (diff)
gb_var2file: remove now unused chunk-size parameter
that parameter did specify how many entries of the list the workaround method could use to not exceed commandline length limits, so it was a guess of sorts and many places didn't actually bother with tweaking that value anyway and just used 100. the $(file …) function doesn't care about that, so the parameter was always ignored in that case. Change-Id: If89ec3a1968be297c0fe7c65336c5a965598f0c9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143911 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'solenv/gbuild/Package.mk')
-rw-r--r--solenv/gbuild/Package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gbuild/Package.mk b/solenv/gbuild/Package.mk
index 9c90322cfcdc..957c0e8c90a9 100644
--- a/solenv/gbuild/Package.mk
+++ b/solenv/gbuild/Package.mk
@@ -64,7 +64,7 @@ $(dir $(call gb_Package_get_target,%))%/.dir :
.PHONY : $(call gb_Package_get_clean_target,%)
$(call gb_Package_get_clean_target,%) :
$(call gb_Output_announce,$*,$(false),PKG,2)
- RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),500,$(FILES)) \
+ RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),$(FILES)) \
&& cat $${RESPONSEFILE} | $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") xargs $(if $(filter MACOSX,$(OS_FOR_BUILD)),-n 1000) rm -fr \
&& rm -f $${RESPONSEFILE}
@@ -82,7 +82,7 @@ $(call gb_Package_get_target,%) :
$(call gb_Trace_StartRange,$*,PKG)
$(if $(PACKAGE_DEFINED),,$(call gb_Output_error,$(RDEPENDS) depend(s) on package $* which does not exist.))
rm -f $@ && \
- mv $(call gb_var2file,$@.tmp,100,$(sort $(FILES))) $@
+ mv $(call gb_var2file,$@.tmp,$(sort $(FILES))) $@
$(call gb_Trace_EndRange,$*,PKG)
# for other targets that want to create Packages, does not register at Module