mirror of
https://github.com/servo/servo.git
synced 2025-06-29 03:23:41 +01:00
Force the use of clang-cl.exe for Windows builds.
This commit is contained in:
parent
817aa49dc7
commit
c038ba4c7c
4 changed files with 9 additions and 7 deletions
|
@ -310,6 +310,10 @@ class MachCommands(CommandBase):
|
|||
if with_debug_assertions:
|
||||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions"
|
||||
|
||||
if sys.platform == "win32":
|
||||
env["CC"] = "clang-cl.exe"
|
||||
env["CXX"] = "clang-cl.exe"
|
||||
|
||||
if android:
|
||||
if "ANDROID_NDK" not in env:
|
||||
print("Please set the ANDROID_NDK environment variable.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue