mirror of
https://github.com/nodejs/node.git
synced 2025-04-29 22:40:57 +00:00
build: turn off -Wrestrict
PR-URL: https://github.com/nodejs/node/pull/54737 Refs: https://github.com/nodejs/node/issues/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>
This commit is contained in:
parent
03fe00e3da
commit
a1a3cafc38
3
node.gyp
3
node.gyp
@ -491,6 +491,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
'conditions': [
|
'conditions': [
|
||||||
|
['clang==0 and OS!="win"', {
|
||||||
|
'cflags': [ '-Wno-restrict', ],
|
||||||
|
}],
|
||||||
# Pointer authentication for ARM64.
|
# Pointer authentication for ARM64.
|
||||||
['target_arch=="arm64"', {
|
['target_arch=="arm64"', {
|
||||||
'target_conditions': [
|
'target_conditions': [
|
||||||
|
Loading…
Reference in New Issue
Block a user