Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2021-11-16 22:20:34 +0300
committerRichard Lau <rlau@redhat.com>2022-01-11 01:56:54 +0300
commitcede1f26f62dc15a2c47469d84332a4c69a98210 (patch)
tree3053d75f403683b2300fa1c33303c1549a74ac8d
parent0d448eaab5249814c57f30bc66b09384f8a0021b (diff)
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 PR-URL: https://github.com/nodejs/node/pull/40631 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
-rw-r--r--deps/uv/uv.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/uv/uv.gyp b/deps/uv/uv.gyp
index f03b4b4c0f3..47de0d7edef 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"', {