summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfoutrelis2022-01-27 20:53:48 +0000
committersvntogit2022-01-27 20:53:48 +0000
commit4a6258d8eb870c908befb4f5731e9880b620ce7d (patch)
tree452a2eac291afdaaa6ca86ddc168c847eeb998e5
parentd042cef9386d132b5add7aadda2c86b3b91c2928 (diff)
downloadaur-4a6258d8eb870c908befb4f5731e9880b620ce7d.tar.gz
upgpkg: electron13 13.6.8-2: build w/o -fstack-clash-protection
https://bugs.archlinux.org/task/73518 git-svn-id: file:///srv/repos/svn-community/svn@1117691 9fca08f4-af9d-4005-b8df-a31f2cc04f65
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index add38be24ef1..734c1f69b9a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = electron13
pkgdesc = Build cross platform desktop apps with web technologies
pkgver = 13.6.8
- pkgrel = 1
+ pkgrel = 2
url = https://electronjs.org/
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 0aa6624ca6e3..aa186146f07f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@ pkgver=13.6.8
_commit=fc41c71ce0f2f156c15237bd0c792f4e0a847ff7
_chromiumver=91.0.4472.164
_gcc_patchset=5
-pkgrel=1
+pkgrel=2
pkgdesc='Build cross platform desktop apps with web technologies'
arch=('x86_64')
url='https://electronjs.org/'
@@ -191,6 +191,11 @@ build() {
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'