[arch-commits] Commit in electron14/trunk (PKGBUILD)
Nicola Squartini
tensor5 at gemini.archlinux.org
Fri Jan 28 09:10:47 UTC 2022
Date: Friday, January 28, 2022 @ 09:10:47
Author: tensor5
Revision: 1118170
upgpkg: electron14 14.2.5-1
Modified:
electron14/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-28 09:10:27 UTC (rev 1118169)
+++ PKGBUILD 2022-01-28 09:10:47 UTC (rev 1118170)
@@ -1,8 +1,8 @@
# Maintainer: Nicola Squartini <tensor5 at gmail.com>
_use_suffix=1
-pkgver=14.2.4
-_commit=771261f6b7af5f7618d52f7607a76a1010e64c42
+pkgver=14.2.5
+_commit=f6798c5e994f9e1d7f88812ef6e5877e85b9c0eb
_chromiumver=93.0.4577.82
_gcc_patchset=6
# shellcheck disable=SC2034
@@ -42,6 +42,8 @@
provides=("electron${_major_ver}")
fi
# shellcheck disable=SC2034
+options=('!lto') # Electron adds its own flags for ThinLTO
+# shellcheck disable=SC2034
source=('git+https://github.com/electron/electron.git'
'git+https://chromium.googlesource.com/chromium/tools/depot_tools.git#branch=main'
"https://github.com/stha09/chromium-patches/releases/download/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}/chromium-${_chromiumver%%.*}-patchset-${_gcc_patchset}.tar.xz"
@@ -227,6 +229,11 @@
CFLAGS="${CFLAGS/-fexceptions/}"
CXXFLAGS="${CXXFLAGS/-fexceptions/}"
+ # This appears to cause random segfaults when combined with ThinLTO
+ # https://bugs.archlinux.org/task/73518
+ CFLAGS=${CFLAGS/-fstack-clash-protection}
+ CXXFLAGS=${CXXFLAGS/-fstack-clash-protection}
+
# Do not warn about unknown warning options
CFLAGS+=' -Wno-unknown-warning-option'
CXXFLAGS+=' -Wno-unknown-warning-option'
More information about the arch-commits
mailing list