diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-07-12 13:46:26 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-07-12 17:39:56 +0300 |
commit | 0d6d7b3efc8888f4cf6a5b785eb072e30bd91712 (patch) | |
tree | b98ae3bf1c5af16f3fc09ad2c961f4564458b51a /gnu | |
parent | 79a7c6e81144e34cc6f32b9c022e79f212f7bbb8 (diff) | |
download | guix-0d6d7b3efc8888f4cf6a5b785eb072e30bd91712.tar.gz |
gnu: sbcl: Fix building on armhf-linux.
* gnu/packages/lisp.scm (sbcl)[arguments]: When building for armhf-linux add a phase to remove build optimizations targeting armv5.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 636221af35..2906c50646 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -466,6 +466,13 @@ an interpreter, a compiler, a debugger, and much more.") (srfi srfi-1)) #:phases (modify-phases %standard-phases + ,@(if (target-arm32?) + ;; TODO: Move to snippet in staging. + `((add-after 'unpack 'dont-force-armv5 + (lambda _ + (substitute* "src/runtime/Config.arm-linux" + (("-march=armv5") ""))))) + '()) (delete 'configure) (add-after 'unpack 'fix-build-id ;; One of the build scripts makes a build id using the current date. |