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
(from parent 1:
30d1d7b
)
Don't output null.o during configure
author
Scott Graham
<scottmg@chromium.org>
Thu, 27 Aug 2015 02:51:15 +0000
(19:51 -0700)
committer
Scott Graham
<scottmg@chromium.org>
Thu, 27 Aug 2015 02:51:15 +0000
(19:51 -0700)
configure.py
patch
|
blob
|
history
diff --git
a/configure.py
b/configure.py
index
b8d7096
..
64f940b
100755
(executable)
--- 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']