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>
pull/54757/head
Richard Lau 2024-09-04 08:14:16 +01:00 committed by GitHub
parent 03fe00e3da
commit a1a3cafc38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -491,6 +491,9 @@
},
'conditions': [
['clang==0 and OS!="win"', {
'cflags': [ '-Wno-restrict', ],
}],
# Pointer authentication for ARM64.
['target_arch=="arm64"', {
'target_conditions': [