guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: rapidjson: Remove unused configure flag.


From: guix-commits
Subject: 02/02: gnu: rapidjson: Remove unused configure flag.
Date: Wed, 11 Aug 2021 17:24:11 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit e65bcfda22fe4e3a0f6fe9b4af9f17e6a567f692
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Aug 11 10:01:01 2021 +0200

    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(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 432ed3c..ff53333 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1381,8 +1381,7 @@ current version of any major web browser.")
                '(begin
                   ;; Remove code using the problematic JSON license (see
                   ;; <https://www.gnu.org/licenses/license-list.html#JSON>).
-                  (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 @@ current version of any major web browser.")
              (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]