projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c487379
)
Simplify. No behavior change.
author
Nico Weber
<thakis@chromium.org>
Tue, 10 Mar 2015 16:09:49 +0000
(09:09 -0700)
committer
Nico Weber
<thakis@chromium.org>
Tue, 10 Mar 2015 16:09:49 +0000
(09:09 -0700)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
661662f
..
48da08a
100755
(executable)
--- a/
configure.py
+++ b/
configure.py
@@
-321,8
+321,7
@@
else:
proc = subprocess.Popen(
[CXX, '-fdiagnostics-color', '-c', '-x', 'c++', '/dev/null'],
stdout=open(os.devnull, 'wb'), stderr=subprocess.STDOUT)
- proc.wait()
- if proc.returncode == 0:
+ if proc.wait() == 0:
cflags += ['-fdiagnostics-color']
except:
pass