From df7c130566757b8e18c802bba279e3144a7282b2 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 18 Oct 2013 18:23:22 +0300 Subject: [PATCH] Start using gcc dependency file packing. --- backends.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backends.py b/backends.py index 2ea34a134..b66c80e77 100644 --- a/backends.py +++ b/backends.py @@ -631,7 +631,8 @@ class NinjaBackend(Backend): if compiler.get_id() == 'msvc': deps = ' deps = msvc\n' else: - deps = ' depfile = $DEPFILE\n' + deps = ' deps = gcc\n' + deps += ' depfile = $DEPFILE\n' outfile.write(rule) outfile.write(command) outfile.write(deps) @@ -658,7 +659,8 @@ class NinjaBackend(Backend): if compiler.get_id() == 'msvc': deps = ' deps = msvc\n' else: - deps = ' depfile = $DEPFILE\n' + deps = ' deps = gcc\n' + deps += ' depfile = $DEPFILE\n' outfile.write(rule) outfile.write(command) outfile.write(deps)