In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/e219c9bd8ab87ada067bb63a9900a573c6e29aa1?hp=e3da8f0230c2fc441705491cb1d27ed71aeba71d>

- Log -----------------------------------------------------------------
commit e219c9bd8ab87ada067bb63a9900a573c6e29aa1
Author: Jarkko Hietaniemi <j...@iki.fi>
Date:   Sun Nov 23 09:59:25 2014 -0500

    AIX: gcc long doubles do not use -qlongdouble.
-----------------------------------------------------------------------

Summary of changes:
 hints/aix.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/hints/aix.sh b/hints/aix.sh
index fce831f..a55fce6 100644
--- 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 ;;
   *)

--
Perl5 Master Repository

Reply via email to