Skip to content

Commit

Permalink
Don't output null.o during configure
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraham committed Aug 27, 2015
1 parent 30d1d7b commit b8f4ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ def binary(name):
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']
Expand Down

0 comments on commit b8f4ad1

Please sign in to comment.