diff --git a/node.gyp b/node.gyp index fb8c02c86dcc83..c64e2768198453 100644 --- a/node.gyp +++ b/node.gyp @@ -491,6 +491,9 @@ }, 'conditions': [ + ['clang==0 and OS!="win"', { + 'cflags': [ '-Wno-restrict', ], + }], # Pointer authentication for ARM64. ['target_arch=="arm64"', { 'target_conditions': [