~ruther/guix-local

5c69a0f5f53d4bc694f75e2a7544152414b87752 — AwesomeAdam54321 1 year, 1 month ago 8a4d055
gnu: gerbil: Don't target the build machine.

* gnu/packages/scheme.scm (gerbil)[arguments]: Add configure-flag to not build
with '-march=native'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I8da8b1f190aae4770dc0b7d653bc0aa4f8737105
1 files changed, 4 insertions(+), 0 deletions(-)

M gnu/packages/scheme.scm
M gnu/packages/scheme.scm => gnu/packages/scheme.scm +4 -0
@@ 26,6 26,7 @@
;;; Copyright © 2024 Skylar Hill <stellarskylark@posteo.net>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Adam Faiz <adam.faiz@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 1266,6 1267,9 @@ a Common Lisp environment.")
        (base32 "1dff14bzqkq6scyyhnwhc3ky96j6lr84mnghk4da0x6vifw7p0p1"))))
    (arguments
     (list
      ;; Do not build with '-march=native'.
      #:configure-flags #~(list "--enable-march=")

      #:phases #~(modify-phases %standard-phases
                   (delete 'bootstrap)
                   (add-after 'set-paths 'set-cc