public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Is --as-needed the default these days?
@ 2024-03-24 18:00 Yuri Kanivetsky
  2024-03-24 18:23 ` Jonathan Wakely
  0 siblings, 1 reply; 5+ messages in thread
From: Yuri Kanivetsky @ 2024-03-24 18:00 UTC (permalink / raw)
  To: gcc

Hi,

It looks like somewhere between gcc-5.3.0 and gcc-6.2.1 --as-needed
became the default:

https://gist.github.com/x-yuri/1b4c19891be50b2b8801689de1487009

In other words it looks like on Alpine Linux 3.4 -lintl always adds
libintl, on >= 3.5 only if some of its symbols are really needed.

Can you possibly give a link to the commit or a changelog entry?

Regards,
Yuri

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-24 19:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-24 18:00 Is --as-needed the default these days? Yuri Kanivetsky
2024-03-24 18:23 ` Jonathan Wakely
2024-03-24 18:52   ` Yuri Kanivetsky
2024-03-24 19:01     ` Andrew Pinski
2024-03-24 19:28       ` Yuri Kanivetsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).