summary refs log tree commit diff
path: root/gnu/packages/messaging.scm
diff options
context:
space:
mode:
authorBrett Gilio <brettg@gnu.org>2020-01-02 10:42:32 -0600
committerBrett Gilio <brettg@gnu.org>2020-01-02 10:42:32 -0600
commit70848cd06c932538bc876b8422a5e45ae3cfd722 (patch)
tree9a30aeb80c132f5967fe1d5d4899ccf9bece6faf /gnu/packages/messaging.scm
parent638a108f4a4eb79493af60a52b58085805e8b0d3 (diff)
downloadguix-70848cd06c932538bc876b8422a5e45ae3cfd722.tar.gz
gnu: tdlib: Configure build for RELEASE and LTO.
* gnu/packages/messaging.scm (tdlib)[arguments]: Pass configuration flags that
  support the RELEASE build type, and add preliminary support for LTO.
Diffstat (limited to 'gnu/packages/messaging.scm')
-rw-r--r--gnu/packages/messaging.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 0378a864db..3202bd2f44 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -1968,6 +1968,9 @@ Telegram messenger.")
       (build-system cmake-build-system)
       (arguments
        `(#:tests? #t
+         #:configure-flags
+         (list "-DCMAKE_BUILD_TYPE=Release"
+               "-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
          #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'remove-failing-tests