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