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