components/php-5_3/php-sapi/patches/071_php_zend_execute_inline.patch
author Craig Mohrman <craig.mohrman@oracle.com>
Thu, 31 May 2012 14:36:45 -0700
changeset 846 fe258446a1ae
permissions -rw-r--r--
6714149 integrate PHP 5.3 within OpenSolaris

--- php-5.3.10/configure.in_orig	Thu Feb  2 09:29:58 2012
+++ php-5.3.10/configure.in	Thu Feb  2 18:30:51 2012
@@ -1445,7 +1445,11 @@
 if test -n "$GCC" && test "$ZEND_INLINE_OPTIMIZATION" != "yes"; then
   flag=-O0
 else
-  flag=
+  if test "$SUNCC" = "yes"; then
+    flag=-W2,-Ainline:inc=100
+  else
+    flag=
+  fi
 fi
 
 PHP_ADD_SOURCES_X(Zend, zend_execute.c,,PHP_GLOBAL_OBJS,,$flag)