Skip to content

Commit 2b2e443

Browse files
committed
Fix linux
1 parent 0da51f0 commit 2b2e443

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
node: 22
4848
binary: linux-x64-glibc-127
4949
- os: ubuntu-22.04
50+
container: telosalliance/ubuntu-20.04:latest
5051
node: 24
5152
binary: linux-x64-glibc-137
5253

binding.gyp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22
"targets": [
33
{
44
"target_name": "stack-trace",
5-
"sources": [ "module.cc" ]
5+
"sources": [ "module.cc" ],
6+
"conditions": [
7+
["OS=='linux' and node_version[0:2]=='24'", {
8+
"cflags_cc": ["-std=gnu++2a"]
9+
}]
10+
]
611
}
712
]
813
}

0 commit comments

Comments
 (0)