]> granicus.if.org Git - php/commitdiff
MFH: - Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs)
authorfoobar <sniper@php.net>
Thu, 2 Jun 2005 21:32:09 +0000 (21:32 +0000)
committerfoobar <sniper@php.net>
Thu, 2 Jun 2005 21:32:09 +0000 (21:32 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index d090098934fafa35f4bf78801584fee8d78eea7c..438d3ee44b2fa4fca869b9fae48b8fc8a0be11e1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -142,6 +142,7 @@ PHP                                                                        NEWS
   mem vars und others). (Dmitry)
 - Fixed bug #28839 (SIGSEGV in interactive mode (php -a)).
   (kameshj at fastmail dot fm)
+- Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs). (Jani)
 - Fixed bug #22836 (returning reference to uninitialized variable). (Dmitry)
 
 31 Mar 2005, PHP 5.0.4
index b64763414ea1ad9e33996a06e75e6805bfc24871..d17899b9cf5e556f31a34d48e9f9aa7015abdd3a 100644 (file)
@@ -180,6 +180,17 @@ PHP_C_BIGENDIAN
 dnl Platform-specific compile settings.
 dnl -------------------------------------------------------------------------
 
+dnl See bug #28605
+case $host_cpu in
+alpha*)
+    if test "$GCC" = "yes"; then
+      CFLAGS="$CFLAGS -mieee"
+    else
+      CFLAGS="$CFLAGS -ieee"
+    fi
+    ;;
+esac
+
 case $host_alias in
 *solaris*)
     CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"