Date: Tuesday, January 4, 2022 @ 17:11:22
  Author: farseerfc
Revision: 1093012

upgpkg: telegram-desktop 3.4.3-2: disable _GLIBCXX_ASSERTIONS to fix FS#73220

Modified:
  telegram-desktop/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-01-04 16:56:51 UTC (rev 1093011)
+++ PKGBUILD    2022-01-04 17:11:22 UTC (rev 1093012)
@@ -2,7 +2,7 @@
 # Contributor: hexchain <i...@hexchain.org>
 pkgname=telegram-desktop
 pkgver=3.4.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Official Telegram Desktop client'
 arch=('x86_64')
 url="https://desktop.telegram.org/";
@@ -20,6 +20,7 @@
 build() {
     cd tdesktop-$pkgver-full
 
+    export CXXFLAGS+=" -Wp,-U_GLIBCXX_ASSERTIONS"
     # Turns out we're allowed to use the official API key that telegram uses 
for their snap builds:
     # 
https://github.com/telegramdesktop/tdesktop/blob/8fab9167beb2407c1153930ed03a4badd0c2b59f/snap/snapcraft.yaml#L87-L88
     # Thanks @primeos!

Reply via email to