diff options
author | Matthias Klumpp <matthias@tenstral.net> | 2016-12-23 01:31:54 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-12-23 19:01:15 +0200 |
commit | 7eb96375caa291e17367b1839194a5f6956ce7d7 (patch) | |
tree | 6532126167524617ddf9a1a0dc82d697b9126e4f | |
parent | 4b7c39d9d1bc378e93ab23d3d9e3f6a8b16cfbf5 (diff) | |
download | meson-7eb96375caa291e17367b1839194a5f6956ce7d7.zip meson-7eb96375caa291e17367b1839194a5f6956ce7d7.tar.gz meson-7eb96375caa291e17367b1839194a5f6956ce7d7.tar.bz2 |
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.
-rw-r--r-- | mesonbuild/compilers.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 42c55e9..e25fd5a 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] |