mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
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:
parent
638a108f4a
commit
70848cd06c
1 changed files with 3 additions and 0 deletions
|
@ -1968,6 +1968,9 @@ (define-public tdlib
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #t
|
`(#:tests? #t
|
||||||
|
#:configure-flags
|
||||||
|
(list "-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'remove-failing-tests
|
(add-after 'unpack 'remove-failing-tests
|
||||||
|
|
Loading…
Reference in a new issue