[PATCH] D30991: [Driver] Fix cross compiling with Visual Studio 2017

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 16 10:55:18 PDT 2017


thakis added a comment.

What env vars are needed here? Reading an env file seems a bit inelegant, could we pass the values of these env vars as flags instead?

For example, MSVC2015 needs %INCLUDE%, but for cross-compiling (and for building on Windows without requiring env vars to be set we added the -imsvc flag instead of doing something like this.


https://reviews.llvm.org/D30991





More information about the cfe-commits mailing list