From a825594bfd3fab6b90efe45c53d86fe0533ffb1f Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 12 Feb 2020 10:43:39 -0800 Subject: [PATCH] Fixup Node.js with ltcg config https://github.com/nodejs/node/pull/29388 --- .../node/build_bring_back_node_with_ltcg_configuration.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/node/build_bring_back_node_with_ltcg_configuration.patch b/patches/node/build_bring_back_node_with_ltcg_configuration.patch index 5cd712c2bf428..6c4e2248b94e4 100644 --- a/patches/node/build_bring_back_node_with_ltcg_configuration.patch +++ b/patches/node/build_bring_back_node_with_ltcg_configuration.patch @@ -23,8 +23,8 @@ index f07e65f719a1a5939997dfcae7bc787ee6391f4d..f4d03a2fdfd47a4e6a71c7146d92ce7c 'node_tag%': '', @@ -240,6 +240,26 @@ - 'cflags': [ '-fPIE' ], - 'ldflags': [ '-fPIE', '-pie' ] + 'cflags': [ '-fPIC' ], + 'ldflags': [ '-fPIC' ] }], + ['node_with_ltcg=="true"', { + 'msvs_settings': {