mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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.
This commit is contained in:
parent
443e7f6338
commit
e65bcfda22
1 changed files with 3 additions and 6 deletions
|
@ -1381,8 +1381,7 @@ (define-public rapidjson
|
|||
'(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 @@ (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
|
||||
|
|
Loading…
Reference in a new issue