Date: Thursday, January 27, 2022 @ 19:07:10 Author: foutrelis Revision: 1117337
upgpkg: electron 16.0.7-3: build w/o -fstack-clash-protection https://bugs.archlinux.org/task/73518 Modified: electron/trunk/PKGBUILD ----------+ PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-27 19:07:08 UTC (rev 1117336) +++ PKGBUILD 2022-01-27 19:07:10 UTC (rev 1117337) @@ -6,7 +6,7 @@ _chromiumver=96.0.4664.110 _gcc_patchset=4 # shellcheck disable=SC2034 -pkgrel=2 +pkgrel=3 _major_ver=${pkgver%%.*} if [[ ${_use_suffix} != 0 ]]; then @@ -215,6 +215,10 @@ CFLAGS="${CFLAGS/-fexceptions/}" CXXFLAGS="${CXXFLAGS/-fexceptions/}" + # This appears to cause random segfaults + 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'