aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/logging.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-04-20 11:18:46 +0100
committerChristopher Baines <mail@cbaines.net>2024-04-20 11:18:46 +0100
commit6b881028a3f9c01eb4b3d0ab2e8058105cb59207 (patch)
tree8e738c4e04a21ba45a22ebbecd521a5d761a5d52 /gnu/packages/logging.scm
parentc364566cb7286bf96e358bdd132cda3c6322feff (diff)
parent3d2966e0b7dbf15a5cb497037ace73d1be92febf (diff)
downloadguix-6b881028a3f9c01eb4b3d0ab2e8058105cb59207.tar
guix-6b881028a3f9c01eb4b3d0ab2e8058105cb59207.tar.gz
Merge commit '3d2966e0b7' into core-update-new-2
Change-Id: I532430d9692b48cb3fbde2af8753b7d9829aa1da Conflicts: gnu/local.mk gnu/packages/freedesktop.scm gnu/packages/java.scm gnu/packages/llvm.scm gnu/packages/man.scm gnu/packages/telegram.scm gnu/packages/wm.scm
Diffstat (limited to 'gnu/packages/logging.scm')
-rw-r--r--gnu/packages/logging.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 47e8cd39c2..a757c22154 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -26,6 +26,7 @@
(define-module (gnu packages logging)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
@@ -227,10 +228,12 @@ output in multiple windows in a terminal.")
;; TODO run benchmark. Currently not possible, as adding
;; (gnu packages benchmark) forms a dependency cycle
(arguments
- '(#:configure-flags
- (list "-DSPDLOG_BUILD_BENCH=OFF"
- "-DSPDLOG_BUILD_SHARED=ON"
- "-DSPDLOG_BUILD_TESTS=ON")))
+ (list #:configure-flags
+ #~(list "-DSPDLOG_BUILD_BENCH=OFF"
+ "-DSPDLOG_BUILD_SHARED=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")