Telegram: disable stack protector

This commit is contained in:
Gerasim Troeglazov
2021-10-09 15:13:02 +10:00
parent 88f3172cb3
commit e1b5110748
2 changed files with 24 additions and 1 deletions

View File

@@ -838,3 +838,26 @@ index 24f0e0e..d746f55 100644
--
2.30.2
From b672a5764c952d2a28c05b78e87d0076abfc60d7 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sat, 9 Oct 2021 15:01:57 +1000
Subject: Disable stack protector
diff --git a/cmake/options_linux.cmake b/cmake/options_linux.cmake
index d746f55..4d1f29f 100644
--- a/cmake/options_linux.cmake
+++ b/cmake/options_linux.cmake
@@ -6,8 +6,6 @@
target_compile_options(common_options
INTERFACE
- -fstack-protector-all
- -fstack-clash-protection
-fPIC
$<IF:$<CONFIG:Debug>,,-fno-strict-aliasing>
-pipe
--
2.30.2

View File

@@ -3,7 +3,7 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
HOMEPAGE="https://www.telegram.org/"
COPYRIGHT="2013-2021 Telegram"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
CHECKSUM_SHA256="f686a2779bb2c225f8a15fab3421a6a84fd2986d4f3a8c8bad647e873cd43f0d"
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"