From 95c19c36a999f9838b866339b2cc2a718bdf01c9 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 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"', {