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

index 499efe444042e8b8999a161f8d1bd6d68f9b2506..1db39657d8691a1e7b564260115bf9696a846dc8 100644 (file)
@@ -143,6 +143,17 @@ PHP_PROG_LEX
 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"