Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Sep 1, 2024

This is the first part of the #12050. I'm making these in a separate pull request because I'm still rechecking other remaining variables (EXTENSION_DIR, EXTRA_INCLUDES, EXTRA_CFLAGS, and EXTRA_LDFLAGS) if they can be done a bit differently.

So, this marks the following environment variables as precious:

  • PHP_BUILD_ARCH
  • PHP_BUILD_COMPILER
  • PHP_BUILD_PROVIDER
  • PHP_BUILD_SYSTEM
  • PHP_UNAME

Meaning, they are now also shown in the ./configure --help output, and they can be used like this when configuring the PHP build:

./configure PHP_BUILD_ARCH="..." PHP_BUILD_COMPILER="..."  ...

This marks the following environment variables as precious:

- PHP_BUILD_ARCH
- PHP_BUILD_COMPILER
- PHP_BUILD_PROVIDER
- PHP_BUILD_SYSTEM
- PHP_UNAME

Meaning, they are now also shown in the `./configure --help` output, and
they can be used like this when configuring the PHP build:

    ./configure PHP_BUILD_ARCH="..." PHP_BUILD_COMPILER="..."  ...
@petk
Copy link
Member Author

petk commented Sep 1, 2024

I'll recheck if everything is fine here and merge coming up here soon.

@petk petk merged commit 8699da6 into php:master Sep 1, 2024
@petk petk deleted the patch-arg-vars-PHP branch September 1, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant