Telegram: enable stack protector (#6270)

This commit is contained in:
Jérôme Duval
2021-10-13 07:17:25 +02:00
committed by GitHub
parent 558523994f
commit 90c392c0b0
2 changed files with 1 additions and 24 deletions

View File

@@ -838,26 +838,3 @@ 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="2"
REVISION="3"
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"