Fix libatomic linking on Rasperry Pi OS Bullseye (#28041)

pull/28223/head^2
Alberto Pedron 3 years ago committed by GitHub
parent ecf946e3a4
commit c1fe2bc130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      setup.py
  2. 2
      tools/distrib/python/grpcio_tools/setup.py

@ -210,7 +210,7 @@ def check_linker_need_libatomic():
# 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++11', '-latomic', '-'],
[cxx, '-x', 'c++', '-std=c++11', '-', '-latomic'],
stdin=PIPE,
stdout=PIPE,
stderr=PIPE)

@ -98,7 +98,7 @@ def check_linker_need_libatomic():
# 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++11', '-latomic', '-'],
[cxx, '-x', 'c++', '-std=c++11', '-', '-latomic'],
stdin=PIPE,
stdout=PIPE,
stderr=PIPE)

Loading…
Cancel
Save