mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Force clang use on all platforms.
This commit is contained in:
parent
ce9f35e0e3
commit
f447c6b1ec
1 changed files with 5 additions and 2 deletions
|
@ -317,8 +317,11 @@ class MachCommands(CommandBase):
|
|||
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions"
|
||||
|
||||
if sys.platform == "win32":
|
||||
env["CC"] = "clang-cl.exe"
|
||||
env["CXX"] = "clang-cl.exe"
|
||||
env["CC"] = env.get("CC", "clang-cl.exe")
|
||||
env["CXX"] = env.get("CXX", "clang-cl.exe")
|
||||
else:
|
||||
env["CC"] = env.get("CC", "clang")
|
||||
env["CXX"] = env.get("CXX", "clang++")
|
||||
|
||||
host = host_triple()
|
||||
if 'apple-darwin' in host and (not target or target == host):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue