[sr #111210] libtool.m4: Fix postdeps in NetBSD

anonymous <[email protected]> Tue, 25 Mar 2025 19:07:32 -0400 (EDT)
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
--8323329-921896701-1742944052=:1812742
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

Follow-up Comment #3, sr #111210 (group libtool):=0A=0AThanks for your quic=
k reply and review.=0A=0A> [comment #0 original submission:]=0A>> Instead, =
I suggest to use the compiler frontend to do the right thing,=0A>> removing=
 -nostdlib and setting output_verbose_link_cmd=0A>> to empty.=0A=0A> I have=
 attached a patch which implements this by adding an option for users=0A> t=
o disable the use of -nostdlib for C++ linking. =0A=0AMy suggestion above w=
as actually meant for the NetBSD case only. My intention=0Awith this paragr=
aph was to explicit the changes that I made in my initial=0Apatch, as it in=
deed suppresses the use of -nostdlib for NetBSD systems. Sorry=0Aif I was n=
ot clear enough, I did not mean to remove -nostdlib for all=0Asupported sys=
tems.=0A=0AThis said, I have nothing against your new configuration option.=
 Just note=0Athat in combination with my patch, this option will be ignored=
 on NetBSD, as=0Athe linker command "archive_cmds" is overridden.=0AMaybe t=
he default could be made platform-specific and for instance default to=0A"e=
nable-cxx-stdlib=3Dyes" on NetBSD?=0A=0A=0A> I have found no issues with te=
sting your patch, but it needs to be updated to=0A> remove the second parag=
raph. Also, it would be nice if it referenced this=0A> issue with a link. I=
f you are okay with these updates, I will commit the=0A> updated patch whic=
h is attached on the development branch.=0A=0AYes, no problem with your upd=
ates. Thanks!=0A=0A=0A=0A    ______________________________________________=
_________=0A=0AReply to this item at:=0A=0A  <https://savannah.gnu.org/supp=
ort/?111210>=0A=0A_______________________________________________=0AMessage=
 sent via Savannah=0Ahttps://savannah.gnu.org/=0A
--8323329-921896701-1742944052=:1812742
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ+M3NAAKCRCqLAuaBUf3
Ti+EAP9XgajFYpHWyd0snp2xoqddtOR8T2Tci9+Vd2sdwVMdZgD+KgiqqL4plp7G
N9Vpi4IOdfA38guSzg8r3PIPODEWkgc=
=32C0
-----END PGP SIGNATURE-----

--8323329-921896701-1742944052=:1812742--