Re: make use of ld --as-needed

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: make use of ld --as-needed
Date: 2005-05-05 04:02:05
Message-ID: 18825.1115265725@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway <neilc(at)samurai(dot)com> writes:
> The easiest fix is to make use of GNU ld's --as-needed flag, which
> ignores linker arguments that are not actually needed by the specified
> object files. The attached patch modifies configure to check for this
> flag (when using GNU ld),

Minor gripe --- what's the motivation for moving this down as you did?
Seems like if there's something wrong there, it would justify rather
more rearrangements in the order of tests than just this.

Also, please s/same platforms/some platforms/

regards, tom lane

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2005-05-05 04:28:29 Re: make use of ld --as-needed
Previous Message Neil Conway 2005-05-05 03:48:05 make use of ld --as-needed