From 2781509ac69075dd4be6ded9ea7899e3ecc0f276 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Tue, 8 Aug 2023 09:46:40 +0300 Subject: [PATCH] tools: remove non-working condition condition doesn't apply to this target type Fixes: https://github.com/nodejs/node/pull/47313 Signed-off-by: Konstantin Demin --- tools/v8_gypfiles/v8.gyp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp index f822c056e589f6..fb98e515800ab3 100644 --- a/tools/v8_gypfiles/v8.gyp +++ b/tools/v8_gypfiles/v8.gyp @@ -1651,10 +1651,6 @@ }, { 'dependencies': ['gen-regexp-special-case#target'], }], - # Avoid excessive LTO - ['enable_lto=="true"', { - 'ldflags': [ '-fno-lto' ], - }], ], 'actions': [ {