summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-09-26 14:18:01 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-09-26 14:21:17 +0900
commit404dbd894c69c94b483c6139d2a39b1c1eaddf36 (patch)
tree032c4c6c76b3e31b284de4bf1e9a2f9bc90ec4cf
parent2b6006fc50db85a485d72da4b88d6b3d049ac29a (diff)
downloadguix-patches-404dbd894c69c94b483c6139d2a39b1c1eaddf36.tar
guix-patches-404dbd894c69c94b483c6139d2a39b1c1eaddf36.tar.gz
From 25 GiB to 1.3 GiB. * gnu/packages/telegram.scm (telegram-desktop) [configure-flags]: Specify the 'Release' build type. Change-Id: I040d79d341412d43e864c95b315c1c8ad5fd19ae
-rw-r--r--gnu/packages/telegram.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/telegram.scm b/gnu/packages/telegram.scm
index 69b7bc9ac3..c0b2122bf5 100644
--- a/gnu/packages/telegram.scm
+++ b/gnu/packages/telegram.scm
@@ -465,6 +465,10 @@ Telegram project, for its use in telegram desktop client.")
(ice-9 match))
#:configure-flags
#~(list
+ ;; Do not generate the debug symbols to reduce link time memory
+ ;; requirements from 25 GiB to 1.3 GiB. This also nearly halves
+ ;; the build time.
+ "-DCMAKE_BUILD_TYPE=Release"
;; Client applications must provide their own API-ID and API-HASH,
;; see also <https://core.telegram.org/api/obtaining_api_id>.
;; Here, we snarf the keys from the official Snaps, which are