From b8f4ad12c0e110f45dbb8d1040c5904df4e29c76 Mon Sep 17 00:00:00 2001 From: Scott Graham Date: Wed, 26 Aug 2015 19:51:15 -0700 Subject: Don't output null.o during configure --- configure.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] -- cgit v1.2.1