build ninja itself in deps mode
authorEvan Martin <martine@danga.com>
Wed, 10 Apr 2013 19:51:04 +0000 (12:51 -0700)
committerEvan Martin <martine@danga.com>
Wed, 10 Apr 2013 19:51:04 +0000 (12:51 -0700)
Hopefully will help flush out bugs.

configure.py

index dd26906..b40dafb 100755 (executable)
@@ -189,13 +189,13 @@ n.newline()
 if platform == 'windows':
     n.rule('cxx',
         command='$cxx /showIncludes $cflags -c $in /Fo$out',
-        depfile='$out.d',
         description='CXX $out',
         deps='msvc')
 else:
     n.rule('cxx',
         command='$cxx -MMD -MT $out -MF $out.d $cflags -c $in -o $out',
         depfile='$out.d',
+        deps='gcc',
         description='CXX $out')
 n.newline()