-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup: move CFLAGS to Node.js patch since CFLAGS does not work on Win…
…dows
- Loading branch information
Showing
2 changed files
with
14 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/common.gypi b/common.gypi | ||
index efcd8da84815..fe11453f09b5 100644 | ||
--- a/common.gypi | ||
+++ b/common.gypi | ||
@@ -268,6 +268,9 @@ | ||
# Defines these mostly for node-gyp to pickup. | ||
'defines': [ | ||
'_GLIBCXX_USE_CXX11_ABI=1', | ||
+ # Work around https://github.com/nodejs/node/issues/52229 | ||
+ "NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT=1", | ||
+ "NAPI_EXPERIMENTAL=1", | ||
], | ||
|
||
# Forcibly disable -Werror. We support a wide range of compilers, it's |