Skip to content

Commit 3b5ed97

Browse files
richardlauaduh95
authored andcommitted
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 721c63c commit 3b5ed97

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
@@ -499,6 +499,9 @@
499499
},
500500

501501
'conditions': [
502+
['clang==0 and OS!="win"', {
503+
'cflags': [ '-Wno-restrict', ],
504+
}],
502505
# Pointer authentication for ARM64.
503506
['target_arch=="arm64"', {
504507
'target_conditions': [

0 commit comments

Comments
 (0)