Skip to content

Commit

Permalink
build: turn off -Wrestrict
Browse files Browse the repository at this point in the history
PR-URL: #54737
Refs: #54736
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
  • Loading branch information
richardlau authored and targos committed Oct 2, 2024
1 parent 2c9e4c9 commit f7a606e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@
},

'conditions': [
['clang==0 and OS!="win"', {
'cflags': [ '-Wno-restrict', ],
}],
# Pointer authentication for ARM64.
['target_arch=="arm64"', {
'target_conditions': [
Expand Down

0 comments on commit f7a606e

Please sign in to comment.