mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: bump chromium in DEPS to 147.0.7724.0 * chore: bump chromium in DEPS to 147.0.7725.0 * chore: bump chromium in DEPS to 147.0.7727.0 * chore: update patches Refs https://chromium-review.googlesource.com/c/chromium/src/+/7633903 * fix: pass weak-ptr-bound callback to OnCommandsChanged Refs https://chromium-review.googlesource.com/c/chromium/src/+/7622614 * fix: add missing option to CSS corner smoothing property Refs https://chromium-review.googlesource.com/c/chromium/src/+/7646628 --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Samuel Maddock <samuelmaddock@electronjs.org>
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: VerteDinde <vertedinde@electronjs.org>
|
|
Date: Tue, 12 Nov 2024 21:16:15 -0800
|
|
Subject: build: disable thin_lto on mac
|
|
|
|
This patch disables thin lto on mac only. After Node 22 was merged into
|
|
main, release builds began failing due to missing symbols, which seem to
|
|
be being stripped out by thin lto.
|
|
|
|
This patch can (and should) be removed when we can prevent those symbols
|
|
from being stripped in the release build.
|
|
|
|
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
|
|
index beb5213714e1ab6260ed735099b0bcac90cdab66..fcbf88740deea6335ec70ab61795f501f4b432ce 100644
|
|
--- a/build/config/compiler/compiler.gni
|
|
+++ b/build/config/compiler/compiler.gni
|
|
@@ -113,7 +113,7 @@ declare_args() {
|
|
# Chrome's clang. crbug.com/1033839
|
|
use_thin_lto =
|
|
is_cfi || (is_clang && is_official_build && chrome_pgo_phase != 1 &&
|
|
- (is_linux || is_win || is_mac || (is_ios && use_lld) ||
|
|
+ (is_linux || is_win || (is_ios && use_lld) ||
|
|
(is_android && target_os != "chromeos") ||
|
|
(is_chromeos && is_chromeos_device)))
|
|
|