Skip to content

Commit fd5fcf5

Browse files
committed
Update binding.gyp
1 parent 1fe54fe commit fd5fcf5

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

binding.gyp

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,20 @@
33
'openssl_fips': "",
44
},
55
'target_defaults': {
6-
'conditions': [
6+
'conditions': [ [
7+
"OS==\"linux\"",
8+
{
9+
"cflags": [
10+
"-std=c++20"
11+
],
12+
"cflags!": [
13+
"-fno-exceptions"
14+
],
15+
"cflags_cc!": [
16+
"-fno-exceptions"
17+
]
18+
}
19+
]
720
[
821
"OS==\"mac\"",
922
{

0 commit comments

Comments
 (0)