--as-needed

Auke Kok sofar at foo-projects.org
Wed Mar 12 07:14:30 CET 2014


On 03/11/2014 02:36 PM, v4hn wrote:
> Evening everyone,
>
> I just hit a major bug in a project I compile locally (without lin),
> which is due to our gcc defaulting to --no-as-needed. The project
> is ROS(.org) and no, it's not really easily fixable.
>
> Some other distributions(I know of Mandriva and Ubuntu) changed this default years ago.
>
> What do you guys think about adding an (optional?) gcc patch to change gcc's default
> for us as well?

The option is already present in the linker optimizations and has been 
for a few years.

Auke



More information about the Lunar-dev mailing list