We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec05981 commit df9614eCopy full SHA for df9614e
binding.gyp
@@ -4,8 +4,10 @@
4
"target_name": "stack-trace",
5
"sources": [ "module.cc" ],
6
"conditions": [
7
- ["OS=='linux' and node_major_version>=24", {
8
- "cflags_cc": ["-std=gnu++2a"]
+ ["OS=='linux'", {
+ "cflags_cc": [
9
+ "<!@(node -p \"process.versions.node.split('.')[0] >= 24 ? '-std=gnu++2a' : ''\")"
10
+ ]
11
}]
12
]
13
}
0 commit comments