Skip to content

Commit

Permalink
build: turn off -Wrestrict
Browse files Browse the repository at this point in the history
PR-URL: nodejs#54737
Refs: nodejs#54736
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
  • Loading branch information
richardlau authored and louwers committed Nov 2, 2024
1 parent 050d6e4 commit b911093
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 @@ -491,6 +491,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 b911093

Please sign in to comment.