From 70848cd06c932538bc876b8422a5e45ae3cfd722 Mon Sep 17 00:00:00 2001 From: Brett Gilio Date: Thu, 2 Jan 2020 10:42:32 -0600 Subject: 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(+) (limited to 'gnu/packages/messaging.scm') 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 -- cgit v1.2.3