From 7eb96375caa291e17367b1839194a5f6956ce7d7 Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Fri, 23 Dec 2016 01:31:54 +0100 Subject: [PATCH] gdc: Make dependency check work The -fmake-deps command does not segfault anymore, and if it is used with "=" there will also be no "file not found" error. --- mesonbuild/compilers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 42c55e90a..e25fd5a22 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -1698,9 +1698,7 @@ class GnuDCompiler(DCompiler): return [] def get_dependency_gen_args(self, outtarget, outfile): - # FIXME: Passing -fmake-deps results in a file-not-found message. - # Investigate why. - return [] + return ['-fmake-deps=' + outfile] def get_output_args(self, target): return ['-o', target]