]> git.sesse.net Git - nageru/commitdiff
Unbreak lld support.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 4 Dec 2018 17:45:35 +0000 (18:45 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 4 Dec 2018 17:45:35 +0000 (18:45 +0100)
meson.build

index 296615e1ec7632879505ddebdfe45a2080088a81..2efead5c8d85f48979a0a68eaa9bed50feb2f54d 100644 (file)
@@ -7,7 +7,7 @@ code = '''#include <stdio.h>
 int main() { printf("Hello, world!\n"); return 0; }
 '''
 if cxx.links(code, args: '-fuse-ld=lld', name: 'check for LLD')
-       add_project_link_arguments('-fuse-ld=lld')
+       add_project_link_arguments('-fuse-ld=lld', language: 'cpp')
 endif
 
 # Add the right MOVIT_SHADER_DIR definition.