Skip to content

Commit 5115898

Browse files
garrettsummerfi3ldqwertychouskie
authored andcommitted
Enable exception handling to allow Linux compilation
Enabling exceptions for the compiler causes the project to build without issues, as the compiler would not like having no exception support similar to how macOS operates.
1 parent b609d96 commit 5115898

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
@@ -66,8 +66,8 @@
6666
"CLANG_CXX_LANGUAGE_STANDARD": "c++20",
6767
"OTHER_CPLUSPLUSFLAGS": ["-fexceptions"]
6868
},
69-
"cflags_cc!": ["-std=c++20", '-fno-exceptions'],
70-
"cflags!": ["-std=c++20", '-fno-exceptions'],
69+
"cflags_cc": ["-std=c++20", '-fexceptions'],
70+
"cflags": ["-std=c++20", '-fexceptions'],
7171
}
7272
]
7373
}

0 commit comments

Comments
 (0)