summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-23 21:01:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-23 21:01:48 +0000
commitcb19cdb0fd3ce67876c25a91eb9a0f13a6646713 (patch)
treefc0779fabbe42de9702c8a12bae696573838ffd7 /hints
parent6b736850bbda30829ec1627a141cf9a65635dcd2 (diff)
downloadperl-cb19cdb0fd3ce67876c25a91eb9a0f13a6646713.tar.gz
-qlongdouble considered harmful by Merijn.
p4raw-id: //depot/perl@10177
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 2f19f1cebb..c3741319e8 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -430,13 +430,9 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
# after it has prompted the user for whether to use long doubles.
case "$uselongdouble" in
$define|true|[yY]*)
- 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))'
+ # -qlongdouble for cc taken out on 20010522 cause it
+ # causes more trouble than it does any good --hmb
+ d_Gconvert='sprintf((b),"%.*llg",((int)(n)),(x))'
;;
esac
EOCBU