This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3da8f0
)
AIX: gcc long doubles do not use -qlongdouble.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 23 Nov 2014 14:59:25 +0000
(09:59 -0500)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 23 Nov 2014 15:00:06 +0000
(10:00 -0500)
hints/aix.sh
patch
|
blob
|
blame
|
history
diff --git
a/hints/aix.sh
b/hints/aix.sh
index
fce831f
..
a55fce6
100644
(file)
--- a/
hints/aix.sh
+++ b/
hints/aix.sh
@@
-634,7
+634,10
@@
int main() {
printf("%Lg\n", powl(-3.0L, 2.0L));
}
EOF
- $cc -qlongdouble -o powl$$ powl$$.c -lm
+ case "$gccversion" in
+ '') $cc -qlongdouble -o powl$$ powl$$.c -lm ;;
+ *) $cc -o powl$$ powl$$.c -lm ;;
+ esac
case `./powl$$` in
9) echo "Your powl() is working correctly." >&4 ;;
*)