guix_mirror_bot pushed a commit to branch master
in repository guix.
commit c4d76205b63fd74ba1561bc21a7d271b670b22e2
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Dec 9 18:13:08 2025 +0200
gnu: cppcheck: Use system tinyxml2.
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to
not use the bundled tinyxml2.
[inputs]: Add tinyxml2.
Change-Id: Id312cb2cdb9ffcee5234a045fb8315afae7d918b
---
gnu/packages/check.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 735b3fe6da..d603acc074 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -832,7 +832,10 @@ format.")
(build-system cmake-build-system)
(arguments
'(#:parallel-tests? #f
- #:configure-flags '("-DBUILD_TESTS=ON")))
+ #:configure-flags '("-DBUILD_TESTS=ON"
+ "-DUSE_BUNDLED_TINYXML2=OFF")))
+ (inputs
+ (list tinyxml2))
(home-page "https://cppcheck.sourceforge.io")
(synopsis "Static C/C++ code analyzer")
(description "Cppcheck is a static code analyzer for C and C++. Unlike