From f127fa685dfe4999a2aab24e7b26dca5ab9919fb Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Sat, 10 Dec 2022 15:07:24 +0100 Subject: gb_var2file: remove now unused chunk-size parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- solenv/gbuild/Package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solenv/gbuild/Package.mk') 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 -- cgit