guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: tdlib: Configure build for RELEASE and LTO.


From: guix-commits
Subject: 02/02: gnu: tdlib: Configure build for RELEASE and LTO.
Date: Thu, 2 Jan 2020 11:47:19 -0500 (EST)

brettgilio pushed a commit to branch master
in repository guix.

commit 70848cd06c932538bc876b8422a5e45ae3cfd722
Author: Brett Gilio <address@hidden>
Date:   Thu Jan 2 10:42:32 2020 -0600

    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.
---
 gnu/packages/messaging.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 0378a86..3202bd2 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]