diff --git a/setup.py b/setup.py index 8c428cb7f32..2646af5fd5e 100644 --- a/setup.py +++ b/setup.py @@ -214,11 +214,11 @@ def check_linker_need_libatomic(): return False # Double-check to see if -latomic actually can solve the problem. # https://github.com/grpc/grpc/issues/22491 - cpp_test = subprocess.Popen( - [cxx, '-x', 'c++', '-std=c++14', '-', '-latomic'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE) + cpp_test = subprocess.Popen(cxx + + ['-x', 'c++', '-std=c++14', '-', '-latomic'], + stdin=PIPE, + stdout=PIPE, + stderr=PIPE) cpp_test.communicate(input=code_test) return cpp_test.returncode == 0