Commit Graph

2 Commits

Author SHA1 Message Date
Saleem Abdulrasool
d9dde28bf1 build: improve the builds with Visual Studio
Visual Studio's compiler does not accept `-Werror=switch`.  Use the equivalent
`-we4062` option instead.  Avoid using the `--` separate that clang uses to
identify that the options that follow are files and not options on the Visual
Studio compiler to reduce the unnecessary spew when building on Windows.
2018-09-12 12:06:48 -07:00
Saleem Abdulrasool
4a557df091 build: avoid incremental links with link.exe
This is a workaround for Visual Studio's link causing corruption with
incremental linking.  The markers for the metadata are padded out
incorrectly, resulting in load time failures.  With this, it is possible
to link with link and use the generated binaries on Windows x86_64.
2018-02-12 09:53:21 -08:00