[sr #111202] Libtool strips -static flag from CFLAGS
Droopy <[email protected]> Fri, 7 Mar 2025 18:11:45 -0500 (EST)
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
--8323329-2057919544-1741389104=:866197 Content-Type: TEXT/plain; CHARSET=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-Disposition: inline Follow-up Comment #5, sr #111202 (group libtool):=0A=0A=0A[comment #4 comme= nt #4:]=0A> Flags can be passed to libtool when linking from within a Makef= ile.am. There=0A> are a few examples in the documentation for updating LDFL= AGS for a libtool=0A> library or a program with a format, like myprog_LDFLA= GS. Pkgconf fields=0A> (libpkgconf_la_LDFLAGS, pkgconf_LDFLAGS, and bomtool= _LDFLAGS) can be updated=0A> or added to pass -all-static or other linking = flags.=0A=0Athank you, I'll see whether I'll be able to come up with some s= calable=0Asolution based on above. For the moment I've patched `libtool` to= *not* strip=0A`-static`. Comments in code suggest that it impacts mainly A= IX which we do not=0Ause (or plan to use) for the moment.=0A=0A=0A _____= __________________________________________________=0A=0AReply to this item = at:=0A=0A <https://savannah.gnu.org/support/?111202>=0A=0A________________= _______________________________=0AMessage sent via Savannah=0Ahttps://savan= nah.gnu.org/=0A --8323329-2057919544-1741389104=:866197 Content-Type: APPLICATION/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ8t9MAAKCRCqLAuaBUf3 TnIQAPoCk8KFcVjtlxFV2SSQpoJHwL5mgrA2n78BmJWaa5oOZAD+IKHXBhOen524 zPJmPAzeiXZIBCS+9erkJ1VNKKuWlg8= =TM5a -----END PGP SIGNATURE----- --8323329-2057919544-1741389104=:866197--