Skip to content

Commit 3bcea9f

Browse files
committed
adjust compile flags to support Node16
1 parent 91bc118 commit 3bcea9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
],
118118

119119
"cflags" : [
120-
"-std=c++11"
120+
"-std=c++17"
121121
],
122122
"cflags!" : [
123123
"-fno-exceptions"
@@ -131,7 +131,7 @@
131131
],
132132
"xcode_settings": {
133133
"OTHER_CFLAGS": [
134-
"-std=c++11",
134+
"-std=c++17",
135135
"-stdlib=libc++"
136136
],
137137
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",

0 commit comments

Comments
 (0)