gnu: range-v3: Don't target the build machine.

* gnu/packages/cpp.scm (range-v3)[arguments]: Add configure-flag to not
build with '-march=native'.
This commit is contained in:
Efraim Flashner 2022-02-23 15:58:37 +02:00
parent c0bc08d82c
commit 5b71034fe8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -25,6 +25,7 @@
;;; Copyright © 2021 jgart <jgart@dismail.de>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Disseminate Dissent <disseminatedissent@protonmail.com>
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -171,6 +172,10 @@ (define-public range-v3
(sha256
(base32 "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh"))))
(build-system cmake-build-system)
(arguments
(list
#:configure-flags
#~(list "-DRANGES_NATIVE=OFF")))
(native-inputs
(list doxygen gcc-9 perl))
(inputs