mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Set BUILD_CC for phpize
This commit is contained in:
parent
9245423c77
commit
c29226581e
2 changed files with 12 additions and 0 deletions
3
NEWS
3
NEWS
|
@ -2,6 +2,9 @@ PHP NEWS
|
|||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.1.0alpha2
|
||||
|
||||
- Opcache:
|
||||
. Fixed bug #81133 (building opcache with phpize fails). (krakjoe)
|
||||
|
||||
- PDO OCI:
|
||||
. Fixed bug #77120 (Support 'success with info' at connection).
|
||||
(Sergei Morozov)
|
||||
|
|
|
@ -170,6 +170,14 @@ CXXFLAGS_CLEAN='$(CXXFLAGS)'
|
|||
test "$prefix" = "NONE" && prefix="/usr/local"
|
||||
test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
|
||||
|
||||
if test "$cross_compiling" = yes ; then
|
||||
AC_MSG_CHECKING(for native build C compiler)
|
||||
AC_CHECK_PROGS(BUILD_CC, [gcc clang c99 c89 cc cl],none)
|
||||
AC_MSG_RESULT($BUILD_CC)
|
||||
else
|
||||
BUILD_CC=$CC
|
||||
fi
|
||||
|
||||
PHP_SUBST(PHP_MODULES)
|
||||
PHP_SUBST(PHP_ZEND_EX)
|
||||
|
||||
|
@ -202,6 +210,7 @@ PHP_SUBST(SHARED_LIBTOOL)
|
|||
PHP_SUBST(LIBTOOL)
|
||||
PHP_SUBST(SHELL)
|
||||
PHP_SUBST(INSTALL_HEADERS)
|
||||
PHP_SUBST(BUILD_CC)
|
||||
|
||||
PHP_GEN_BUILD_DIRS
|
||||
PHP_GEN_GLOBAL_MAKEFILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue