From 11044cbf0d92fea3cb55ba46d81f8fe51b1ec0ab Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Oct 2014 11:32:31 +0300 Subject: fix 'line too long' link error on Windows with merged-libs Change-Id: I76457af34d5a034197d1b7d847a7120518f44383 --- solenv/gbuild/platform/com_MSC_class.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'solenv') diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 390a7b87ac3c..b4dc1e32c5a3 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -136,8 +136,7 @@ gb_LinkTarget_get_linksearchpath_for_layer = \ # avoid fatal error LNK1170 for Library_merged define gb_LinkTarget_MergedResponseFile -cut -f -1000 -d ' ' $${RESPONSEFILE} > $${RESPONSEFILE}.1 && \ -cut -f 1001- -d ' ' $${RESPONSEFILE} >> $${RESPONSEFILE}.1 && \ +cat $${RESPONSEFILE} | sed 's/ /\n/g' | grep -v '^$$' > $${RESPONSEFILE}.1 && \ mv $${RESPONSEFILE}.1 $${RESPONSEFILE} && endef -- cgit v1.2.3