Set _XOPEN_SOURCE only for BoringSSL

This commit is contained in:
murgatroid99 2018-10-24 12:35:45 -07:00
parent b7f7bf0dce
commit 31a0019d99
2 changed files with 8 additions and 4 deletions

View File

@ -91,8 +91,7 @@
'GPR_BACKWARDS_COMPATIBILITY_MODE',
'GRPC_ARES=0',
'GRPC_UV',
'GRPC_NODE_VERSION="1.16.0-pre1"',
'_XOPEN_SOURCE=700'
'GRPC_NODE_VERSION="1.16.0-pre1"'
],
'conditions': [
['grpc_gcov=="true"', {
@ -224,6 +223,9 @@
'cflags': [
'-Wno-implicit-fallthrough'
],
'defines': [
'_XOPEN_SOURCE=700'
]
'dependencies': [
],
'sources': [

View File

@ -83,8 +83,7 @@
'GPR_BACKWARDS_COMPATIBILITY_MODE',
'GRPC_ARES=0',
'GRPC_UV',
'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"',
'_XOPEN_SOURCE=700'
'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"'
],
'conditions': [
['grpc_gcov=="true"', {
@ -196,6 +195,9 @@
'cflags': [
'-Wno-implicit-fallthrough'
],
'defines': [
'_XOPEN_SOURCE=700'
]
'dependencies': [
% for dep in getattr(lib, 'deps', []):
'${dep}',