summaryrefslogtreecommitdiff
path: root/dev-util/electron/files/chromium-lto-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/electron/files/chromium-lto-fixes.patch')
-rw-r--r--dev-util/electron/files/chromium-lto-fixes.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-util/electron/files/chromium-lto-fixes.patch b/dev-util/electron/files/chromium-lto-fixes.patch
deleted file mode 100644
index 7de3df1b26f6..000000000000
--- a/dev-util/electron/files/chromium-lto-fixes.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/build/common.gypi.orig b/build/common.gypi
-index cce7b3c..3b905c0 100644
---- a/build/common.gypi.orig
-+++ b/build/common.gypi
-@@ -6096,7 +6096,7 @@
- 'target_conditions': [
- ['_toolset=="target"', {
- 'ldflags': [
-- '-flto=32',
-+ '-flto=4'
- ],
- }],
- ],
-diff --git a/build/android/disable_gcc_lto.gypi.orig b/build/android/disable_gcc_lto.gypi
-index a733c7a..57570f8 100644
---- a/build/android/disable_gcc_lto.gypi.orig
-+++ b/build/android/disable_gcc_lto.gypi
-@@ -8,7 +8,7 @@
- 'target_conditions': [
- ['_toolset=="target"', {
- 'conditions': [
-- ['OS=="android" and clang==0 and (use_lto==1 or use_lto_o2==1)', {
-+ ['(OS=="android" or OS=="linux") and clang==0 and (use_lto==1 or use_lto_o2==1)', {
- 'cflags!': [
- '-flto',
- '-ffat-lto-objects',