summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-06-02 21:32:49 +0000
committerfoobar <sniper@php.net>2005-06-02 21:32:49 +0000
commita4ecfdb08c92feadb60b3d98a2a2b5e1d4ef6f74 (patch)
tree3a333abe9686587d2170f47248ba60a0e0001b08
parent1a733ccbdda682fe9899957f43e411e215639e63 (diff)
downloadphp-git-a4ecfdb08c92feadb60b3d98a2a2b5e1d4ef6f74.tar.gz
MFH: - Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs)
-rw-r--r--NEWS1
-rw-r--r--configure.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1e7763d9cb..56d6a25074 100644
--- a/NEWS
+++ b/NEWS
@@ -70,6 +70,7 @@ PHP 4 NEWS
handler). (Tony)
- Fixed bug #29944 (Function defined in switch, crashes). (Dmitry)
- Fixed bug #29338 (unencoded spaces get ignored after certain tags). (Ilia)
+- Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs). (Jani)
31 Mar 2005, Version 4.3.11
- Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony)
diff --git a/configure.in b/configure.in
index 7721878316..7e300ed2b7 100644
--- a/configure.in
+++ b/configure.in
@@ -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"