mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
re PR libgomp/28296 (libgomp fails to configure on Tru64 UNIX)
PR libgomp/28296 Backport from mainline. * config/darwin.h (CPP_SPEC): Handle -pthread, transforming it into -D_REENTRANT. From-SVN: r121649
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2007-02-06 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
PR libgomp/28296
|
||||
Backport from mainline.
|
||||
* config/darwin.h (CPP_SPEC): Handle -pthread, transforming
|
||||
it into -D_REENTRANT.
|
||||
|
||||
2007-02-05 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
PR debug/30189
|
||||
|
||||
@@ -214,7 +214,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
|
||||
|
||||
Reference in New Issue
Block a user