From 6b753f382c683b8d9d027effa4b3d03942e1c6b2 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Wed, 27 Oct 2021 16:18:34 +0200 Subject: [PATCH] deps: add -fno-strict-aliasing flag to libuv This commit turns on `-fno-strict-aliasing` in libuv. Fixes: https://github.com/nodejs/node/issues/40368 Refs: https://github.com/libuv/libuv/issues/1230 --- deps/uv/uv.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp index f03b4b4c0f3a20..47de0d7edefe20 100644 --- a/deps/uv/uv.gyp +++ b/deps/uv/uv.gyp @@ -221,6 +221,7 @@ '-Wextra', '-Wno-unused-parameter', '-Wstrict-prototypes', + '-fno-strict-aliasing', ], }], [ 'OS in "mac ios"', {