Follow-up Comment #2, sr #111210 (group libtool): Thank you for your bug and patch submission.
[comment #0 original submission:]
> Instead, I suggest to use the compiler frontend to do the right thing,
> removing -nostdlib and setting output_verbose_link_cmd
> to empty.
I have attached a patch which implements this by adding an option for users to
disable the use of -nostdlib for C++ linking. The default is still using
-nostdlib and output_verbose_link_cmd so that only projects which have an
issue with the flag have the option to update.
I have found no issues with testing your patch, but it needs to be updated to
remove the second paragraph. Also, it would be nice if it referenced this
issue with a link. If you are okay with these updates, I will commit the
updated patch which is attached on the development branch.
(file #57060, file #57061)
_______________________________________________________
Additional Item Attachment:
File name: 0001-libtool-Add-configuration-options-for-CXX-linking.patch Size:
17KiB
<https://file.savannah.gnu.org/file/0001-libtool-Add-configuration-options-for-CXX-linking.patch?file_id=57060>
File name: libtool.m4-Fix-postdeps-in-NetBSD.diff Size: 2KiB
<https://file.savannah.gnu.org/file/libtool.m4-Fix-postdeps-in-NetBSD.diff?file_id=57061>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-7003f86b5f007cfaaf0d8a76566740991567250e.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111210>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
