diff options
author | Scott Graham <scottmg@chromium.org> | 2015-08-27 02:51:15 (GMT) |
---|---|---|
committer | Scott Graham <scottmg@chromium.org> | 2015-08-27 02:51:15 (GMT) |
commit | b8f4ad12c0e110f45dbb8d1040c5904df4e29c76 (patch) | |
tree | c29d9c067038d718d1a66b1b2ba8acb1847303a1 /configure.py | |
parent | 30d1d7b8da64ff5f32b46aa704f9fbc324c71949 (diff) | |
download | Ninja-b8f4ad12c0e110f45dbb8d1040c5904df4e29c76.zip Ninja-b8f4ad12c0e110f45dbb8d1040c5904df4e29c76.tar.gz Ninja-b8f4ad12c0e110f45dbb8d1040c5904df4e29c76.tar.bz2 |
Don't output null.o during configure
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.py b/configure.py index b8d7096..64f940b 100755 --- a/configure.py +++ b/configure.py @@ -325,7 +325,8 @@ else: cflags += ['-O2', '-DNDEBUG'] try: proc = subprocess.Popen( - [CXX, '-fdiagnostics-color', '-c', '-x', 'c++', '/dev/null'], + [CXX, '-fdiagnostics-color', '-c', '-x', 'c++', '/dev/null', + '-o', '/dev/null'], stdout=open(os.devnull, 'wb'), stderr=subprocess.STDOUT) if proc.wait() == 0: cflags += ['-fdiagnostics-color'] |