diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-03-02 18:06:55 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@member.fsf.org> | 2024-03-19 18:48:07 +0800 |
commit | 321ddfe1db1bad1ff700fb36fe783b31e28d031c (patch) | |
tree | ff95c97b19f776488d51ac6ef8185a81db25d8e5 /gnu/packages | |
parent | cac593fa8265f9ccd33ff92c98137ad21f73df97 (diff) | |
download | guix-321ddfe1db1bad1ff700fb36fe783b31e28d031c.tar.gz guix-321ddfe1db1bad1ff700fb36fe783b31e28d031c.zip |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/logging.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index afd602db42..a757c22154 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -231,7 +231,9 @@ output in multiple windows in a terminal.") (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") |