On Thu, Jun 03, 2010 at 05:42:32PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Thu Jun  3 17:42:32 2010
> New Revision: 208789
> URL: http://svn.freebsd.org/changeset/base/208789
> 
> Log:
>   Use -Wl,-N instead of the undocumented -N option for GCC.
>   
>   GCC forwards the -N flag directly to ld. This flag is not documented and
>   not supported by (for example) Clang. Just use -Wl,-N.

This is strange. Traditionally, cc(1) forwards any switches or file
names it does not understand, to the linker. Similarly, file names with
extensions not recognized by cc, are passed to the linker.

Attachment: pgp62V4UuwCgx.pgp
Description: PGP signature

Reply via email to