[libitm] Link with -litm and -pthread

Richard Henderson rth@redhat.com
Mon Feb 13 21:43:00 GMT 2012


On 02/11/2012 06:14 AM, Eric Botcazou wrote:
> 2012-02-11  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
> 	(GTM_SELF_SPECS): Define if not already defined.
> 	(driver_self_specs): Add GTM_SELF_SPECS.
> 	* config/darwin.h (GTM_SELF_SPECS): Define.
> 	* config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
> 	* config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
> 
> 
> 2012-02-11  Eric Botcazou  <ebotcazou@adacore.com>
> 
> 	* configure.ac (link_itm): Fix comment.
> 	* configure: Regenerate.
> 	* testsuite/lib/libitm.exp: Do not pass -litm for the link.

Ok with the darwin followup-patch.


r~



More information about the Gcc-patches mailing list