diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-07-02 19:08:19 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-07-08 10:46:51 +0200 |
| commit | 338e1b245d8c234ffbd5407bf3f6c05a9e1b3cb3 (patch) | |
| tree | 46e124eeaef515fb8a84757857d0e9f88af4fc0f /Zend/zend_API.c | |
| parent | 98b6330ab45732dcb16bb714d66ca1d987531406 (diff) | |
| download | php-git-338e1b245d8c234ffbd5407bf3f6c05a9e1b3cb3.tar.gz | |
Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
While it is already possible to *set* CFLAGS and LDFLAGS (actually all
variables) from the environment for `nmake` (by passing the `/E`
option), it is not possible to *add* any (C|LD)FLAGS, which can be
useful in some cases. Instead of allowing this for `nmake`, we add
support for additional custom (C|LD)FLAGS to `configure`, similar to
how that works on Linux, so one could actually write:
````
set CFLAGS=foo & set LDFLAGS=bar & configure
````
This also allows us to use these flags during configure.
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions
