File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -77,19 +77,13 @@ export async function setupSpecRunner(electronRoot: string) {
7777 }
7878
7979 async function installSpecModules ( dir : string ) {
80- // v8 headers use c++17 so override the gyp default of -std=c++14,
81- // but don't clobber any other CXXFLAGS that were passed into spec-runner.js
82- const CXXFLAGS = [ "-std=c++17" , process . env . CXXFLAGS ]
83- . filter ( ( x ) => ! ! x )
84- . join ( " " ) ;
85-
8680 const nodeDir = path . resolve (
8781 BASE ,
8882 `out/${ utils . getOutDir ( { shouldLog : true } ) } /gen/node_headers` ,
8983 ) ;
90- const env = {
84+ const env : NodeJS . ProcessEnv = {
9185 ...process . env ,
92- CXXFLAGS ,
86+ CXXFLAGS : process . env . CXXFLAGS ,
9387 npm_config_nodedir : nodeDir ,
9488 npm_config_msvs_version : "2019" ,
9589 npm_config_yes : "true" ,
You can’t perform that action at this time.
0 commit comments