diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-09 11:32:31 +0300 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-09 11:35:51 +0300 |
commit | 11044cbf0d92fea3cb55ba46d81f8fe51b1ec0ab (patch) | |
tree | 0c1af12aea9d0062ca7fef453152f61a71805184 /solenv/gbuild/platform | |
parent | a0a919d2b541c415ad9b81d2ee91895bf106e9bb (diff) |
fix 'line too long' link error on Windows with merged-libs
Change-Id: I76457af34d5a034197d1b7d847a7120518f44383
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/com_MSC_class.mk | 3 |
1 files changed, 1 insertions, 2 deletions
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 |