|
From: | Martin Storsjö |
Subject: | bug#37032: Make libtool prefer response files over linker script, for lld |
Date: | Wed, 14 Aug 2019 23:58:24 +0300 (EEST) |
User-agent: | Alpine 2.20 (DEB 67 2015-01-07) |
This fails with lld, where the mingw/coff part of lld doesn't support linker script. It does support response files (which also GNU ld does) though, so by making libtool check for support for response files before linker script (which is assumed to be supported if with_gnu_ld is set), this issue can be avoided. The attached patch accomplishes this. Are there any drawbacks to this approach, other than being less tested than the current status quo?
This patch has been carried in msys2's copy of libtool since late last year, with no reported issues to my knowledge.
// Martin
0001-Prefer-response-files-over-linker-scripts-for-mingw-.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |