Skip to content

Commit 5d0a1a5

Browse files
macOS: Compilation now succeeds, linking still fails though
Tested on M3 Pro Apple Silicon (aarch64)
1 parent b0ca096 commit 5d0a1a5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

binding.gyp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
'RuntimeLibrary': 0
3838
},
3939
},
40+
"xcode_settings": {
41+
"CLANG_CXX_LANGUAGE_STANDARD": "c++20",
42+
"OTHER_CPLUSPLUSFLAGS": ["-fexceptions"]
43+
},
4044
"cflags_cc!": ["-std=c++20", '-fno-exceptions'],
4145
"cflags!": ["-std=c++20", '-fno-exceptions'],
4246
}

0 commit comments

Comments
 (0)