Skip to content

Commit a1a3caf

Browse files
authored
build: turn off -Wrestrict
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]>
1 parent 03fe00e commit a1a3caf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node.gyp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@
491491
},
492492

493493
'conditions': [
494+
['clang==0 and OS!="win"', {
495+
'cflags': [ '-Wno-restrict', ],
496+
}],
494497
# Pointer authentication for ARM64.
495498
['target_arch=="arm64"', {
496499
'target_conditions': [

0 commit comments

Comments
 (0)