Skip to content

Commit

Permalink
Merge pull request grpc#11048 from kpayson64/fix_py_artifact
Browse files Browse the repository at this point in the history
Fix python artifact build
  • Loading branch information
kpayson64 authored May 10, 2017
2 parents 0cab13f + b91c5fb commit 449bf01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
elif 'win32' in sys.platform:
EXTRA_ENV_COMPILE_ARGS += ' -D_PYTHON_MSVC'
elif "linux" in sys.platform:
EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -fvisibility=hidden -fno-wrapv'
EXTRA_ENV_COMPILE_ARGS += ' -std=c++11 -std=gnu99 -fvisibility=hidden -fno-wrapv'
elif "darwin" in sys.platform:
EXTRA_ENV_COMPILE_ARGS += ' -fvisibility=hidden -fno-wrapv'

Expand Down
4 changes: 2 additions & 2 deletions src/python/grpcio/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ def build_extensions(self):
stderr=subprocess.PIPE)
make_out, make_err = make_process.communicate()
if make_out and make_process.returncode != 0:
sys.stdout.write(make_out + '\n')
sys.stdout.write(str(make_out) + '\n')
if make_err:
sys.stderr.write(make_err + '\n')
sys.stderr.write(str(make_err) + '\n')
if make_process.returncode != 0:
raise Exception("make command failed!")

Expand Down

0 comments on commit 449bf01

Please sign in to comment.