[php-src] PR #11853: Set DTrace preprocessor via the DTRACE_CPP variable
| From: | petk | Date: | Tue, 01 Aug 2023 23:07:44 +0000 |
| Subject: | [php-src] PR #11853: Set DTrace preprocessor via the DTRACE_CPP variable | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23240@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11853
Author: petk
The way DTrace generates files depend on the given preprocessor. Without passing the CPP environment
variable dtrace Python script uses the cpp by default.
For systems where the CPP is set to something else, the generated files won't be created the
same way, so instead the DTrace preprocessor can be overriden manually with the new DTRACE_CPP
variable. For example:
```sh
./configure DTRACE_CPP="gcc -E -xc" --enable-dtrace
```
Fixes #GH-11847