From: H.Merijn Brand <h.m.brand@xs4all.nl>
Date: Wed, 18 Oct 2000 13:12:01 +0000 (+0200)
Subject: Re: [ID 20001013.008] perl 5.6.0 on AIX w/GCC
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=18e6bcfda680248a0af962933ffac01af9e6cce1;p=p5sagit%2Fp5-mst-13.2.git

Re: [ID 20001013.008] perl 5.6.0 on AIX w/GCC
Message-Id: <20001018131021.F844.H.M.BRAND@hccnet.nl>

p4raw-id: //depot/perl@7368
---

diff --git a/hints/aix.sh b/hints/aix.sh
index cf1270d..cf7e43c 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -380,7 +380,10 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
 # after it has prompted the user for whether to use long doubles.
 case "$uselongdouble" in
 $define|true|[yY]*)
-	ccflags="$ccflags -qlongdouble"
+        case "$cc" in
+        *gcc*) ;;
+        *) ccflags="$ccflags -qlongdouble" ;;
+        esac
 	# The explicit cc128, xlc128, xlC128 are not needed,
 	# the -qlongdouble should do the trick. --jhi
 	d_Gconvert='sprintf((b),"%.*llg",(n),(x))'