Blame grpc-0003-use-shell-loop-instead-makefile-function.patch

1f1b01a
From fe221f7d6fcf04e296f3b8598f57abc9e3dea821 Mon Sep 17 00:00:00 2001
4d8a3c0
From: Sergey Avseyev <sergey.avseyev@gmail.com>
4d8a3c0
Date: Wed, 16 Jan 2019 20:00:40 +0300
1f1b01a
Subject: [PATCH 3/4] use shell loop instead makefile function
4d8a3c0
4d8a3c0
this avoids failure when too long string passed to exec
4d8a3c0
---
4d8a3c0
 Makefile | 2 +-
4d8a3c0
 1 file changed, 1 insertion(+), 1 deletion(-)
4d8a3c0
4d8a3c0
diff --git a/Makefile b/Makefile
1f1b01a
index 2bdfa6395d..51614620af 100644
4d8a3c0
--- a/Makefile
4d8a3c0
+++ b/Makefile
1f1b01a
@@ -2950,7 +2950,7 @@ install-headers_c:
4d8a3c0
 install-headers_cxx:
4d8a3c0
 	$(E) "[INSTALL] Installing public C++ headers"
4d8a3c0
 	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) -d $(prefix)/$(dir $(h)) && ) exit 0 || exit 1
4d8a3c0
-	$(Q) $(foreach h, $(PUBLIC_HEADERS_CXX), $(INSTALL) $(h) $(prefix)/$(h) && ) exit 0 || exit 1
4d8a3c0
+	$(Q) for h in $(PUBLIC_HEADERS_CXX); do $(INSTALL) $$h $(prefix)/$$h; done || exit 1
4d8a3c0
 
4d8a3c0
 install-static: install-static_c install-static_cxx
4d8a3c0
 
4d8a3c0
-- 
1f1b01a
2.21.0
4d8a3c0