mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: compile Node.js with C++20 support (32-x-y) (#43785)
build: compile Node.js with C++20 support (#43555) * build: compile with C++20 support * build: update build-image-sha for gcc 10 Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
@@ -186,13 +186,9 @@ async function runMainProcessElectronTests () {
|
||||
}
|
||||
|
||||
async function installSpecModules (dir) {
|
||||
// v8 headers use c++17 so override the gyp default of -std=c++14,
|
||||
// but don't clobber any other CXXFLAGS that were passed into spec-runner.js
|
||||
const CXXFLAGS = ['-std=c++17', process.env.CXXFLAGS].filter(x => !!x).join(' ');
|
||||
|
||||
const env = {
|
||||
...process.env,
|
||||
CXXFLAGS,
|
||||
CXXFLAGS: process.env.CXXFLAGS,
|
||||
npm_config_msvs_version: '2019',
|
||||
npm_config_yes: 'true'
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user