Fix UWP build after #17194

`uwp/detect.py` was not setting the `env.msvc` variable to true causing
scons to pass wrong arguments to `msvc` (using `clang/gcc` options)
which in turn break the build due to `-Werror=return-type` not being
recognized by ms compiler.
This commit is contained in:
Fabio Alessandrelli 2018-03-29 18:17:38 +02:00
parent 4dbae5a738
commit e6364c3fd5

View file

@ -43,6 +43,8 @@ def get_flags():
def configure(env): def configure(env):
env.msvc = True
if (env["bits"] != "default"): if (env["bits"] != "default"):
print("Error: bits argument is disabled for MSVC") print("Error: bits argument is disabled for MSVC")
print(""" print("""