1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Autotools: Move auto_cflags marker to PHP_INIT_BUILD_SYSTEM (#15487)

The "hacky" auto_cflags variable is otherwise set only for the Oracle
Developer Studio compiler (which is at this point also non-usable) and
perhaps might be removed in the future but this is for now moved to the
PHP_INIT_BUILD_SYSTEM for consistent settings between the php-src build
and phpize.

The PHP_INIT_BUILD_SYSTEM is now also called sooner in phpize to match
the php-src build.
This commit is contained in:
Peter Kokot
2024-08-19 22:29:20 +02:00
committed by GitHub
parent b6d7c011b8
commit 40217b2ea4
3 changed files with 11 additions and 6 deletions

View File

@@ -100,9 +100,6 @@ dnl ----------------------------------------------------------------------------
PHP_INIT_BUILD_SYSTEM
dnl We want this one before the checks, so the checks can modify CFLAGS.
AS_VAR_IF([CFLAGS],, [auto_cflags=1])
abs_srcdir=`(cd $srcdir; pwd)`
abs_builddir=`pwd`