fix: clang variable configuration in generated node headers (#44200)
* fix: clang variable configuration in generated node headers Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: restore value in common.gypi Co-authored-by: deepak1556 <hop2deep@gmail.com> * chore: update patches --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <hop2deep@gmail.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
		
					parent
					
						
							
								afce3ce7c7
							
						
					
				
			
			
				commit
				
					
						9011532b2e
					
				
			
		
					 10 changed files with 50 additions and 21 deletions
				
			
		|  | @ -61,6 +61,10 @@ def main(target_file, target_cpu): | |||
|   v['node_module_version'] = int(args['node_module_version']) | ||||
|   # Used by certain versions of node-gyp. | ||||
|   v['build_v8_with_gn'] = 'false' | ||||
|   # Enable clang conditionally based on target platform | ||||
|   # in common.gypi | ||||
|   if 'clang' in v: | ||||
|     del v['clang'] | ||||
| 
 | ||||
|   with open(target_file, 'w+', encoding='utf-8') as file_out: | ||||
|     file_out.write(pprint.pformat(config, indent=2)) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	![37223003+trop[bot]@users.noreply.github.com](/assets/img/avatar_default.png) trop[bot]
				trop[bot]