[php-src] PR #15707: Autotools: Add PHP_EXTRA_CFLAGS environment variable
| From: | petk | Date: | Sun, 01 Sep 2024 23:08:10 +0000 |
| Subject: | [php-src] PR #15707: Autotools: Add PHP_EXTRA_CFLAGS environment variable | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28352@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15707
Author: petk
This adds a new configure-phase environment variable PHP_EXTRA_CFLAGS which are appended to the
CFLAGS in the Makefile rules. It sets the already present undocumented EXTRA_CFLAGS Makefile
variable to not introduce issues with EXTRA_CFLAGS usage in the existing PECL extensions.
This enables setting configure-and-build-phase CFLAGS and build-phase PHP_EXTRA_CFLAGS separately to
not affect configure checks:
./configure CFLAGS=... PHP_EXTRA_CFLAGS=...
Follow-up of https://github.com/php/php-src/pull/12050