Skip to content

Commit

Permalink
Update binding.gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
uurien committed Oct 21, 2024
1 parent 868b6b9 commit e0b3553
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"<!(node -e \"require('nan')\")"
],
"cflags!": [ "-fno-exceptions", "-fno-rtti" ],
"cflags_cc!": [ "-fno-exceptions", "-fno-rtti" ],
"cflags_cc": [ "-std=c++20" ],
"cflags_cc!": [ "-fno-exceptions", "-fno-rtti", "-std=gnu++20" ],
"cflags_cc": [ "-std=gnu++2a" ],
"conditions": [
['OS=="mac"', {
"xcode_settings": {
Expand All @@ -36,7 +36,6 @@
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"GCC_ENABLE_CPP_RTTI": "YES",
"OTHER_CFLAGS": [
"-std=c++20",
"-stdlib=libc++",
"-Wall"
]
Expand Down

0 comments on commit e0b3553

Please sign in to comment.