We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776a4c2 commit 4859aa4Copy full SHA for 4859aa4
binding.gyp
@@ -20,7 +20,25 @@
20
"conditions": [
21
[
22
'OS == "mac"',
23
- {"cflags_cc!": ["-std=c++23"], "cflags_cc+": ["-std=c++20"]},
+ {
24
+ "xcode_settings": {
25
+ "OTHER_CFLAGS+": [
26
+ "-std=c++23",
27
+ "-Wall",
28
+ "-Wextra",
29
+ "-Wno-unused-parameter",
30
+ "-O3",
31
+ "-Werror",
32
+ "-Wpedantic",
33
+ "-fexceptions",
34
+ "-frtti",
35
+ "-Wno-cast-function-type", # since nan.h -> node.h has some warnings regarding that
36
+ "<!@(pkg-config oopetris-recordings --cflags-only-other)",
37
+ "-static", # statically link this, as we do on windows ( it's the default as per node-gyp )
38
+ "-I/usr/local/include", # this is and error with magic_enum in mac, but this small hack fixes it :)
39
+ ]
40
+ }
41
+ },
42
],
43
44
'OS != "win"',
0 commit comments