From 5c69a0f5f53d4bc694f75e2a7544152414b87752 Mon Sep 17 00:00:00 2001 From: AwesomeAdam54321 Date: Wed, 1 Jan 2025 17:07:11 +0800 Subject: [PATCH] gnu: gerbil: Don't target the build machine. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/scheme.scm (gerbil)[arguments]: Add configure-flag to not build with '-march=native'. Signed-off-by: Ludovic Courtès Change-Id: I8da8b1f190aae4770dc0b7d653bc0aa4f8737105 --- gnu/packages/scheme.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index c6d36e0336155d797b431b95abda7fc6af2f13f0..4c9ad0628b846e224167d8d4f876c276e1c29f34 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2024 Skylar Hill ;;; Copyright © 2024 Artyom V. Poptsov ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Adam Faiz ;;; ;;; 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