summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-11-15 20:46:52 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2025-11-15 20:54:09 +0300
commitcd6adc26cc021d379fbafa43d3180254ddea6dfb (patch)
tree788a356cc6171868ed67c7525e72856f2a8c0884
parent34bc2ce8ed7e6dc04bdd1a2fea14a8780b1e6e0f (diff)
gnu: femtolisp: Fix build with gcc-14.
* gnu/packages/scheme.scm (femtolisp): Fix build with gcc-14. [arguments]<#:phases>: Add "relax-gcc-14-strictness" phase. Change-Id: I7d5502057bc41654de6043ebd964f482a9187e46
-rw-r--r--gnu/packages/scheme.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 3d6ca7895a9..28f0b56761e 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -25,7 +25,7 @@
;;; Copyright © 2023, 2024 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2024 Skylar Hill <stellarskylark@posteo.net>
-;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024, 2025 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Adam Faiz <adam.faiz@disroot.org>
;;; Copyright © 2024, 2025 Zhu Zihao <all_but_last@163.com>
@@ -1063,6 +1063,9 @@ comprehensible public-domain interpreter for R4RS Scheme offering:
(modify-phases %standard-phases
(delete 'bootstrap)
(delete 'configure) ; No configure script
+ (add-before 'build 'relax-gcc-14-strictness
+ (lambda _
+ (setenv "CFLAGS" "-Wno-error=implicit-function-declaration")))
(replace 'install ; Makefile has no 'install phase
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))