summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2008-12-03 19:53:45 +0000
committerDavid Soria Parra <dsp@php.net>2008-12-03 19:53:45 +0000
commitfe8d326d57ffe515b0b169de7bcf7403af6eae46 (patch)
tree56f6644c70ca248a3b226cf2d2a93355119344c0 /acinclude.m4
parent2b830291bbd04a4cd05b2185f2c73346d18e5f9c (diff)
downloadphp-git-fe8d326d57ffe515b0b169de7bcf7403af6eae46.tar.gz
Fix test for auto_cflags and explictly set GCC="no" if we detect suncc
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index aac7ad554b..39e71e6ca4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2776,6 +2776,7 @@ AC_DEFUN([PHP_DETECT_SUNCC],[
SUNCC="no"
AC_MSG_RESULT([no]),
SUNCC="yes"
+ GCC="no"
test -n "$auto_cflags" && CFLAGS="-fsimple=2 -xnorunpath -xO4 -xalias_level=basic -xipo=1 -xlibmopt -xprefetch_level=1 -xprefetch=auto -xstrconst -xtarget=native -zlazyload"
GCC=""
AC_MSG_RESULT([yes])