aboutsummaryrefslogtreecommitdiff
path: root/ninjabackend.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-10-04 03:41:38 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2015-10-04 03:41:38 +0300
commit50663144c37af5e0f411902eb3b799641daffa45 (patch)
treec5c6e11373ad63c27ec188153cad598288420452 /ninjabackend.py
parentd76e89f78044698a31ee422601206eef131f010c (diff)
downloadmeson-50663144c37af5e0f411902eb3b799641daffa45.zip
meson-50663144c37af5e0f411902eb3b799641daffa45.tar.gz
meson-50663144c37af5e0f411902eb3b799641daffa45.tar.bz2
Can set compiler options, added language versions for Gnu and Clang.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r--ninjabackend.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 2f611a1..e6cb6a5 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -1452,6 +1452,7 @@ rule FORTRAN_DEP_HACK
commands = []
commands += linker.get_linker_always_args()
commands += linker.get_buildtype_linker_args(self.environment.coredata.buildtype)
+ commands += linker.get_option_link_args(self.environment.coredata.compiler_options)
if not(isinstance(target, build.StaticLibrary)):
commands += self.environment.coredata.external_link_args[linker.get_language()]
if isinstance(target, build.Executable):