mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: spdlog: Fix cross-compilation.
* gnu/packages/logging.scm (spdlog)[arguments]<#:configure-flags>: when cross-compilation, don't add -DSPDLOG_BUILD_TESTS=ON. Change-Id: I90911c548c3f138ff40bff4b086f6102b717acf2 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
cac593fa82
commit
321ddfe1db
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,9 @@ (define-public spdlog
|
|||
(list #:configure-flags
|
||||
#~(list "-DSPDLOG_BUILD_BENCH=OFF"
|
||||
"-DSPDLOG_BUILD_SHARED=ON"
|
||||
"-DSPDLOG_BUILD_TESTS=ON")))
|
||||
#$@(if (%current-target-system)
|
||||
'()
|
||||
'("-DSPDLOG_BUILD_TESTS=ON")))))
|
||||
(native-inputs (list catch2-3))
|
||||
(home-page "https://github.com/gabime/spdlog")
|
||||
(synopsis "Fast C++ logging library")
|
||||
|
|
Loading…
Reference in a new issue