From 7feff674192d395c145274b9fbeba99bb4445a6a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 16 Nov 2021 20:20:34 +0100 Subject: [PATCH] deps: add -fno-strict-aliasing flag to libuv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 PR-URL: https://github.com/nodejs/node/pull/40631 Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Tobias Nießen Reviewed-By: Santiago Gimeno Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Voltrex Reviewed-By: Luigi Pinca --- deps/uv/uv.gyp | 1 + 1 file changed, 1 insertion(+) diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp index 7fc7e0601b9f6a..cbe9b29a4c3d6a 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"', {