summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 5a10cf8511..7dffde24a7 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -275,7 +275,8 @@ $define|true|[yY]*)
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'