Skip to content

Commit

Permalink
add extra flags for xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Jan 13, 2023
1 parent c792b89 commit 114e925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions node.gyp
Expand Up @@ -96,6 +96,7 @@
'-W',
'-Wno-unused-parameter',
'-Werror=undefined-inline',
'-Werror=extra-semi',
],
},

Expand Down
2 changes: 1 addition & 1 deletion node.gypi
Expand Up @@ -27,7 +27,7 @@

'conditions': [
[ 'clang==1', {
'cflags': [ '-Werror=undefined-inline -Wextra-semi', ]
'cflags': [ '-Werror=undefined-inline', '-Werror=extra-semi']
}],
[ '"<(_type)"=="executable"', {
'msvs_settings': {
Expand Down

0 comments on commit 114e925

Please sign in to comment.