Commit 1d07712d by Roger Sayle Committed by Roger Sayle

darwin.h (CPP_SPEC): Handle -pthread, transforming it into -D_REENTRANT.


	* config/darwin.h (CPP_SPEC): Handle -pthread, transforming
	it into -D_REENTRANT.

From-SVN: r118408
parent 68b92f78
2006-11-01 Roger Sayle <roger@eyesopen.com>
* config/darwin.h (CPP_SPEC): Handle -pthread, transforming
it into -D_REENTRANT.
2006-11-01 Roger Sayle <roger@eyesopen.com>
* configure.ac (HAVE_AS_IX86_DIFF_SECT_DELTA): New test to determine
whether the assembler supports taking the difference of symbols in
different sections. On x86/Solaris, GAS does but Solaris as doesn't.
......
......@@ -217,7 +217,8 @@ extern GTY(()) int darwin_ms_struct;
them to darwin_cpp_builtins in darwin-c.c. */
#undef CPP_SPEC
#define CPP_SPEC "%{static:%{!dynamic:-D__STATIC__}}%{!static:-D__DYNAMIC__}"
#define CPP_SPEC "%{static:%{!dynamic:-D__STATIC__}}%{!static:-D__DYNAMIC__}" \
" %{pthread:-D_REENTRANT}"
/* This is mostly a clone of the standard LINK_COMMAND_SPEC, plus
precomp, libtool, and fat build additions. Also we
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment