This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If someone chooses xlc as default C compiler, threaded builds
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 3 Feb 2004 12:57:37 +0000 (12:57 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Tue, 3 Feb 2004 12:57:37 +0000 (12:57 +0000)
will fail, unless converted to cc_r

p4raw-id: //depot/perl@22261

hints/aix.sh

index 8bda32c..ca7052b 100644 (file)
@@ -314,7 +314,7 @@ $define|true|[yY]*)
                esac
            ;;
        cc_r) ;;
-       cc|xl[cC]_r) 
+       cc|xl[cC]|xl[cC]_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)  Let's suspect xlC_r, too.