|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #77230 Support passing CFLAGS, LDFLAGS,etc from the environment on Windows
Submitted: 2018-12-03 03:47 UTC Modified: 2019-07-15 07:05 UTC
From: xixi dot bu at 163 dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: 7.3Git-2018-12-03 (Git) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 8 = ?
Subscribe to this entry?

 [2018-12-03 03:47 UTC] xixi dot bu at 163 dot com
PHP version: latest version from php/php-src on GitHub
Environment: On Windows, Compile and debug using php-sdk-binary-tools proving by

Feature request: On Linux it is possible to pass CFLAGS, LDFLAGS and others from the environment before compile, for example, the description on gives the steps to define MYSQLI_NO_CHANGE_USER_ON_PCONNECT. From the kind information from, this is not possible on Windows. So may I have a request for you to implement the same feature for Windows? This helps for me. 

Expected result:
Support passing CFLAGS, LDFLAGS and others from the environment on Windows

Actual result:
Passing CFLAGS, LDFLAGS and others from the environment is not supported on Windows


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-12-03 11:16 UTC]
-Assigned To: +Assigned To: ab
 [2019-07-02 15:25 UTC]
-Assigned To: ab +Assigned To: cmb
 [2019-07-02 18:28 UTC]
The following pull request has been associated:

Patch Name: Implement FR #77230: Support custom CFLAGS and LDFLAGS from environment
On GitHub:
 [2019-07-15 07:05 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 21:01:29 2024 UTC