This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients christopher.hogan, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-09-01.16:35:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441125309.74.0.179679137934.issue24973@psf.upfronthosting.co.za>
In-reply-to
Content
All environment variables are promoted to MSBuild properties, so if you "set IncludeSSL=false" before building then it will show up (which is exactly how the proposed patch is getting CFLAGS in).

Unfortunately, batch file argument parsing is pretty horrid. I'd be happy to move to PowerShell based scripts, but that'll be asking a lot of some people, and probably isn't feasible for the existing buildbots.

Another concern about using CFLAGS is people ending up with broken builds because they had something else set in there - mostly because it's near impossible to diagnose remotely.

If we call it PY_CFLAGS< move it to pyproject.props, and require "$(BuildForRelease) != 'true'", then I'm fine with it. (The last condition ensures that official release builds via Tools\msi\buildrelease.bat will never be affected, and gives a fairly strong indication not to rely on implicit settings like this. Defaults that we need for actual releases should be integrated properly.)
History
Date User Action Args
2015-09-01 16:35:09steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, r.david.murray, zach.ware, christopher.hogan
2015-09-01 16:35:09steve.dowersetmessageid: <1441125309.74.0.179679137934.issue24973@psf.upfronthosting.co.za>
2015-09-01 16:35:09steve.dowerlinkissue24973 messages
2015-09-01 16:35:09steve.dowercreate