Date: Friday, January 28, 2022 @ 07:47:32 Author: tensor5 Revision: 1118048
upgpkg: electron15 15.3.6-1 Modified: electron15/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-28 07:22:48 UTC (rev 1118047) +++ PKGBUILD 2022-01-28 07:47:32 UTC (rev 1118048) @@ -1,8 +1,8 @@ # Maintainer: Nicola Squartini <[email protected]> _use_suffix=1 -pkgver=15.3.5 -_commit=9f08e4601805c5c438e9880b51917a1deb47400e +pkgver=15.3.6 +_commit=a636ab7c6169f90c2b5d9db48795655f8b7fdefe _chromiumver=94.0.4606.81 _gcc_patchset=3 # 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" @@ -220,6 +222,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'
