Skip to content

Commit a4ecfdb

Browse files
author
foobar
committed
MFH: - Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs)
1 parent 1a733cc commit a4ecfdb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ PHP 4 NEWS
7070
handler). (Tony)
7171
- Fixed bug #29944 (Function defined in switch, crashes). (Dmitry)
7272
- Fixed bug #29338 (unencoded spaces get ignored after certain tags). (Ilia)
73+
- Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs). (Jani)
7374

7475
31 Mar 2005, Version 4.3.11
7576
- Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony)

configure.in

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,17 @@ PHP_C_BIGENDIAN
180180
dnl Platform-specific compile settings.
181181
dnl -------------------------------------------------------------------------
182182

183+
dnl See bug #28605
184+
case $host_cpu in
185+
alpha*)
186+
if test "$GCC" = "yes"; then
187+
CFLAGS="$CFLAGS -mieee"
188+
else
189+
CFLAGS="$CFLAGS -ieee"
190+
fi
191+
;;
192+
esac
193+
183194
case $host_alias in
184195
*solaris*)
185196
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"

0 commit comments

Comments
 (0)