Re: Make -Wc,foo behave like -Xcompiler foo in link mode.

2009-09-05 Thread Peter Rosin

Den 2009-09-05 09:05 skrev Ralf Wildenhues:

* Peter Rosin wrote on Fri, Sep 04, 2009 at 10:31:14PM CEST:

Ok to commit this?


Yes, thanks.


Pushed. Thanks for reviewing!

Cheer,
Peter




Re: Make -Wc,foo behave like -Xcompiler foo in link mode.

2009-09-05 Thread Ralf Wildenhues
* Peter Rosin wrote on Fri, Sep 04, 2009 at 10:31:14PM CEST:
> Ok to commit this?

Yes, thanks.

Cheers,
Ralf

> 2009-09-04  Peter Rosin  
> 
>   Make -Wc,FLAG behave like -Xcompiler FLAG in link mode.
>   * libltdl/config/ltmain.m4sh (func_mode_link): Remove "-Wc,"
>   instead of replacing it with "$wl" when linking programs
>   through the compiler driver, just as is the case when linking
>   libraries.
>   * NEWS: Update.