Skip to content

Commit

Permalink
Merge pull request grpc#11040 from jtattermusch/fix_csharp_macos_x86_…
Browse files Browse the repository at this point in the history
…artifact

Fix C# macos x86 artifact build
  • Loading branch information
jtattermusch authored May 10, 2017
2 parents c7676a3 + 1d00ccc commit 07a2f98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/run_tests/artifacts/artifact_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def build_jobspec(self):
'EMBED_OPENSSL': 'true',
'EMBED_ZLIB': 'true',
'CFLAGS': '-DGPR_BACKWARDS_COMPATIBILITY_MODE',
'CXXFLAGS': '-DGPR_BACKWARDS_COMPATIBILITY_MODE',
'LDFLAGS': ''}
if self.platform == 'linux':
return create_docker_jobspec(self.name,
Expand All @@ -211,6 +212,7 @@ def build_jobspec(self):
else:
archflag = _ARCH_FLAG_MAP[self.arch]
environ['CFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG)
environ['CXXFLAGS'] += ' %s %s' % (archflag, _MACOS_COMPAT_FLAG)
environ['LDFLAGS'] += ' %s' % archflag
return create_jobspec(self.name,
['tools/run_tests/artifacts/build_artifact_csharp.sh'],
Expand Down

0 comments on commit 07a2f98

Please sign in to comment.