Skip to content

Commit f7a606e

Browse files
richardlautargos
authored andcommitted
build: turn off -Wrestrict
PR-URL: #54737 Refs: #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>
1 parent 2c9e4c9 commit f7a606e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

node.gyp

+3
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,9 @@
469469
},
470470

471471
'conditions': [
472+
['clang==0 and OS!="win"', {
473+
'cflags': [ '-Wno-restrict', ],
474+
}],
472475
# Pointer authentication for ARM64.
473476
['target_arch=="arm64"', {
474477
'target_conditions': [

0 commit comments

Comments
 (0)