From e65bcfda22fe4e3a0f6fe9b4af9f17e6a567f692 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 11 Aug 2021 10:01:01 +0200 Subject: gnu: rapidjson: Remove unused configure flag. * gnu/packages/web.scm (rapidjson)[arguments]: Remove #:configure-flags, as the entry is not honored by the build system and would only affect tests and examples, which are not installed. [source](snippet): Remove trailing #t. --- gnu/packages/web.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'gnu/packages/web.scm') diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 432ed3c445..ff53333169 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -1381,8 +1381,7 @@ (define-public rapidjson '(begin ;; Remove code using the problematic JSON license (see ;; ). - (delete-file-recursively "bin/jsonchecker") - #t)))) + (delete-file-recursively "bin/jsonchecker"))))) (build-system cmake-build-system) (arguments (if (string-prefix? "aarch64" (or (%current-target-system) @@ -1392,10 +1391,8 @@ (define-public rapidjson (add-after 'unpack 'patch-aarch-march-detection (lambda _ (substitute* (find-files "." "^CMakeLists\\.txt$") - (("native") "armv8-a")) - #t)))) - ;; Disable CPU optimization for reproducibility. - '(#:configure-flags '("-DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF")))) + (("native") "armv8-a")))))) + '())) (home-page "https://github.com/Tencent/rapidjson") (synopsis "JSON parser/generator for C++ with both SAX/DOM style API") (description -- cgit v1.2.3