Skip to content

Commit

Permalink
fixup: try opt-out from experimetnal node_api flag
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Oct 23, 2024
1 parent 3944f01 commit 5261470
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .evergreen/print-compass-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ function printCompassEnv() {
printVar('EVERGREEN_REVISION', process.env.EVERGREEN_REVISION);
printVar('EVERGREEN_REVISION_ORDER_ID', process.env.EVERGREEN_REVISION_ORDER_ID);

if (process.platform === 'darwin') {
// Without this, kerberos 2.1.1 is broken on macOS, but this flag is only
// really relevant for Linux.
// https://jira.mongodb.org/browse/NODE-6320
printVar('GYP_DEFINES', 'kerberos_use_rtld=false');
}
// https://jira.mongodb.org/browse/NODE-6320
printVar('GYP_DEFINES', `kerberos_use_rtld=${process.platform === 'linux'}`);
printVar('CFLAGS', '-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1');
printVar('CXXFLAGS', '-DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1');
}

printCompassEnv();

0 comments on commit 5261470

Please sign in to comment.