Skip to content

Commit df9614e

Browse files
committed
more
1 parent ec05981 commit df9614e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

binding.gyp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"target_name": "stack-trace",
55
"sources": [ "module.cc" ],
66
"conditions": [
7-
["OS=='linux' and node_major_version>=24", {
8-
"cflags_cc": ["-std=gnu++2a"]
7+
["OS=='linux'", {
8+
"cflags_cc": [
9+
"<!@(node -p \"process.versions.node.split('.')[0] >= 24 ? '-std=gnu++2a' : ''\")"
10+
]
911
}]
1012
]
1113
}

0 commit comments

Comments
 (0)