diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-11-14 11:59:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-11-14 11:59:54 +0100 |
commit | 36e0acffbe2759dd2a910d2393f266c5c4898786 (patch) | |
tree | 1c1b31a011b950bd73123be849ec586d0cd85583 | |
parent | cd4dd4f7c47694e9d7b8ae9cdfefeb3bee4145c9 (diff) |
Another workaround for "xargs: environment is too large for exec" errors
...on Windows, similar to df9edbcd2883cec2d0596133131cfbc220dee91f "Work around
'xargs: environment is too large for exec' errors on Windows"
Change-Id: Ibc23960bbe2b8001eb7e08ed4cff12e4726df01b
-rw-r--r-- | solenv/gbuild/Package.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/Package.mk b/solenv/gbuild/Package.mk index 1ab45b687800..841e819c7c78 100644 --- a/solenv/gbuild/Package.mk +++ b/solenv/gbuild/Package.mk @@ -65,7 +65,7 @@ $(dir $(call gb_Package_get_target,%))%/.dir : $(call gb_Package_get_clean_target,%) : $(call gb_Output_announce,$*,$(false),PKG,2) RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,$(FILES)) \ - && cat $${RESPONSEFILE} | xargs $(if $(filter MACOSX,$(OS_FOR_BUILD)),-n 1000) rm -f \ + && cat $${RESPONSEFILE} | $(if $(filter WNT,$(OS)),env -i PATH="$$PATH") xargs $(if $(filter MACOSX,$(OS_FOR_BUILD)),-n 1000) rm -f \ && rm -f $${RESPONSEFILE} $(call gb_Package_get_preparation_target,%) : |