aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAwesomeAdam54321 <adam.faiz@disroot.org>2025-01-01 17:07:11 +0800
committerLudovic Courtès <ludo@gnu.org>2025-02-09 18:20:41 +0100
commit5c69a0f5f53d4bc694f75e2a7544152414b87752 (patch)
treecfdcba37dad2d45dd90b4f4b73d9ac3ff8cfc91b
parent8a4d05501fc4f69c12af3ee324c627501a6a1507 (diff)
downloadguix-5c69a0f5f53d4bc694f75e2a7544152414b87752.tar.gz
guix-5c69a0f5f53d4bc694f75e2a7544152414b87752.zip
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
-rw-r--r--gnu/packages/scheme.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index c6d36e0336..4c9ad0628b 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -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