mirror of https://github.com/grpc/grpc-node.git
				
				
				
			Set _XOPEN_SOURCE only for BoringSSL
This commit is contained in:
		
							parent
							
								
									b7f7bf0dce
								
							
						
					
					
						commit
						31a0019d99
					
				|  | @ -91,8 +91,7 @@ | ||||||
|       'GPR_BACKWARDS_COMPATIBILITY_MODE', |       'GPR_BACKWARDS_COMPATIBILITY_MODE', | ||||||
|       'GRPC_ARES=0', |       'GRPC_ARES=0', | ||||||
|       'GRPC_UV', |       'GRPC_UV', | ||||||
|       'GRPC_NODE_VERSION="1.16.0-pre1"', |       'GRPC_NODE_VERSION="1.16.0-pre1"' | ||||||
|       '_XOPEN_SOURCE=700' |  | ||||||
|     ], |     ], | ||||||
|     'conditions': [ |     'conditions': [ | ||||||
|       ['grpc_gcov=="true"', { |       ['grpc_gcov=="true"', { | ||||||
|  | @ -224,6 +223,9 @@ | ||||||
|           'cflags': [ |           'cflags': [ | ||||||
|             '-Wno-implicit-fallthrough' |             '-Wno-implicit-fallthrough' | ||||||
|           ], |           ], | ||||||
|  |           'defines': [ | ||||||
|  |             '_XOPEN_SOURCE=700' | ||||||
|  |           ] | ||||||
|           'dependencies': [ |           'dependencies': [ | ||||||
|           ], |           ], | ||||||
|           'sources': [ |           'sources': [ | ||||||
|  |  | ||||||
|  | @ -83,8 +83,7 @@ | ||||||
|         'GPR_BACKWARDS_COMPATIBILITY_MODE', |         'GPR_BACKWARDS_COMPATIBILITY_MODE', | ||||||
|         'GRPC_ARES=0', |         'GRPC_ARES=0', | ||||||
|         'GRPC_UV', |         'GRPC_UV', | ||||||
|         'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"', |         'GRPC_NODE_VERSION="${settings.get('node_version', settings.version)}"' | ||||||
|         '_XOPEN_SOURCE=700' |  | ||||||
|       ], |       ], | ||||||
|       'conditions': [ |       'conditions': [ | ||||||
|         ['grpc_gcov=="true"', { |         ['grpc_gcov=="true"', { | ||||||
|  | @ -196,6 +195,9 @@ | ||||||
|             'cflags': [ |             'cflags': [ | ||||||
|               '-Wno-implicit-fallthrough' |               '-Wno-implicit-fallthrough' | ||||||
|             ], |             ], | ||||||
|  |             'defines': [ | ||||||
|  |               '_XOPEN_SOURCE=700' | ||||||
|  |             ] | ||||||
|             'dependencies': [ |             'dependencies': [ | ||||||
|               % for dep in getattr(lib, 'deps', []): |               % for dep in getattr(lib, 'deps', []): | ||||||
|               '${dep}', |               '${dep}', | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue