From 710d2fef1c3431b1fff0f455d4425aec94bc1cf1 Mon Sep 17 00:00:00 2001 From: foobar Date: Thu, 2 Jun 2005 21:32:09 +0000 Subject: [PATCH] MFH: - Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs) --- NEWS | 1 + configure.in | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/NEWS b/NEWS index d090098934..438d3ee44b 100644 --- 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 diff --git a/configure.in b/configure.in index b64763414e..d17899b9cf 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" -- 2.40.0