aboutsummaryrefslogtreecommitdiff
path: root/backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'backends.py')
-rw-r--r--backends.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends.py b/backends.py
index 10c48ed..2f3df55 100644
--- a/backends.py
+++ b/backends.py
@@ -874,6 +874,7 @@ class NinjaBackend(Backend):
linker_rule = linker_base + crstr + '_LINKER'
abspath = os.path.join(self.environment.get_build_dir(), target.subdir)
commands = []
+ commands += linker.get_linker_always_flags()
if isinstance(target, build.Executable):
commands += linker.get_std_exe_link_flags()
elif isinstance(target, build.SharedLibrary):