Change 18429 by jhi@lyta on 2003/01/04 04:19:57
AIX gcc (2.9) threaded build tweak (without the _THREAD_SAFE
things like drand48_data are undefined).
Affected files ...
... //depot/maint-5.8/perl/hints/aix.sh#6 edit
Differences ...
==== //depot/maint-5.8/perl/hints/aix.sh#6 (text) ====
Index: perl/hints/aix.sh
--- perl/hints/aix.sh#5~18286~ Wed Dec 11 06:43:36 2002
+++ perl/hints/aix.sh Fri Jan 3 20:19:57 2003
@@ -275,7 +275,8 @@
ccflags="$ccflags -DNEED_PTHREAD_INIT"
case "$cc" in
*gcc*)
-echo "GCC $gccversion disabling some _r functions" >&4
+ ccflags="-D_THREAD_SAFE $ccflags"
+ echo "GCC $gccversion disabling some _r functions" >&4
case "$gccversion" in
3*) d_drand48_r='undef'
d_endgrent_r='undef'
End of Patch.