summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAwesomeAdam54321 <[email protected]>2025-01-01 17:07:11 +0800
committerLudovic Courtès <[email protected]>2025-02-09 18:20:41 +0100
commit5c69a0f5f53d4bc694f75e2a7544152414b87752 (patch)
treecfdcba37dad2d45dd90b4f4b73d9ac3ff8cfc91b /gnu
parent8a4d05501fc4f69c12af3ee324c627501a6a1507 (diff)
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 <[email protected]> Change-Id: I8da8b1f190aae4770dc0b7d653bc0aa4f8737105
Diffstat (limited to 'gnu')
-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 <[email protected]>
;;; Copyright © 2024 Artyom V. Poptsov <[email protected]>
;;; Copyright © 2024 Zheng Junjie <[email protected]>
+;;; Copyright © 2024 Adam Faiz <[email protected]>
;;;
;;; 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