mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Limit _POSIX_PTHREAD_SEMANTICS to Solaris, and stop appending -O2. This
is automatically done by autoconf's AC_PROG_CC.
This commit is contained in:
parent
1601a2dac9
commit
23f92bfa20
1 changed files with 5 additions and 3 deletions
|
@ -685,10 +685,12 @@ fi
|
|||
|
||||
PHP_REGEX
|
||||
|
||||
dnl If we are using gcc and the user has not specified CFLAGS, add -O2.
|
||||
test -n "$auto_cflags" && test -n "$GCC" && CFLAGS="$CFLAGS -O2"
|
||||
case "`uname -s`" in
|
||||
SunOS*)
|
||||
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS";;
|
||||
esac
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT"
|
||||
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
|
||||
|
||||
LIBZEND_BASIC_CHECKS
|
||||
LIBZEND_OTHER_CHECKS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue