diff options
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index e92b0817b08..33c3689b954 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -628,8 +628,7 @@ class CommandBase(object): if self.config["build"]["rustflags"]: env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " " + self.config["build"]["rustflags"] - # Don't run the gold linker if on Windows https://github.com/servo/servo/issues/9499 - if self.config["tools"]["rustc-with-gold"] and sys.platform != "win32": + if self.config["tools"]["rustc-with-gold"]: if subprocess.call(['which', 'ld.gold'], stdout=PIPE, stderr=PIPE) == 0: env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C link-args=-fuse-ld=gold" |