summary refs log tree commit diff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-02-23 15:58:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-02-23 16:03:34 +0200
commit5b71034fe81c2639bb7a9121146ddc551f6067f9 (patch)
tree9c481b83ae9cd3cbecee1175cf024d149a7c9dcf /gnu/packages/cpp.scm
parentc0bc08d82c73e464a419f213d5ae5545bc67e2bf (diff)
downloadguix-5b71034fe81c2639bb7a9121146ddc551f6067f9.tar.gz
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'.
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 1227e705c3..de6b529302 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -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 @@ development effort.")
        (sha256
         (base32 "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh"))))
     (build-system cmake-build-system)
+    (arguments
+     (list
+       #:configure-flags
+       #~(list "-DRANGES_NATIVE=OFF")))
     (native-inputs
      (list doxygen gcc-9 perl))
     (inputs