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.
This commit is contained in:
Brett Gilio 2020-01-02 10:42:32 -06:00
parent 638a108f4a
commit 70848cd06c
No known key found for this signature in database
GPG key ID: 672243C4A03F0EEE

View file

@ -1968,6 +1968,9 @@ (define-public tdlib
(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