summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Barr <gbarr@pobox.com>1999-03-28 17:21:27 +0000
committerGraham Barr <gbarr@pobox.com>1999-03-28 17:21:27 +0000
commit1f4e9903ddda24853ac03b822b229fe78ca3b50f (patch)
tree21063b22398317ba6df0f48816c44f579c7885b7
parent6383fda29b859e48d6e6d202833ce2b16f8ec6ac (diff)
downloadperl-1f4e9903ddda24853ac03b822b229fe78ca3b50f.tar.gz
AIX hints update from Jarkko
p4raw-id: //depot/maint-5.005/perl@3196
-rw-r--r--hints/aix.sh17
1 files changed, 10 insertions, 7 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index c4fcfc173c..d2c45c0a59 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -81,17 +81,20 @@ case "$usethreads" in
$define|true|[yY]*)
ccflags="$ccflags -DNEED_PTHREAD_INIT"
case "$cc" in
- xlc_r) ;;
- cc)
- echo >&4 "Switching cc to xlc_r because of POSIX threads."
- cc=xlc_r
+ cc_r) ;;
+ cc|xlc_r)
+ echo >&4 "Switching cc to cc_r because of POSIX threads."
+ # xlc_r has been known to produce buggy code in AIX 4.3.2.
+ # (e.g. pragma/overload core dumps)
+ # --jhi@iki.fi
+ cc=cc_r
;;
- '' | cc_r)
- cc=xlc_r
+ '')
+ cc=cc_r
;;
*)
cat >&4 <<EOM
-For pthreads you should use the AIX C compiler xlc_r.
+For pthreads you should use the AIX C compiler cc_r.
(now your compiler was '$cc')
Cannot continue, aborting.
EOM