[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/17: gnu: mit-scheme: Fix building
From: |
guix-commits |
Subject: |
08/17: gnu: mit-scheme: Fix building |
Date: |
Tue, 11 Jul 2023 11:01:32 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b716d17e1cbaa1362ea495370acf0178aa8347cc
Author: Zac Berkowitz <zac.berkowitz@gmail.com>
AuthorDate: Sun Jun 25 10:27:08 2023 -0400
gnu: mit-scheme: Fix building
* gnu/packages/scheme.scm (mit-scheme)[arguments] Add 'set-env
before 'configure, setting -Wno-array-parameter in CFLAGS and
CPPFLAGS to ignore warning causing build break.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/scheme.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 2337b60ee9..215ea741f8 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -138,6 +138,12 @@
(("\\./configure")
(string-append (which "sh") " configure")))
#t))
+ ;; disable array-parameter warnings that become errors while
+ ;; compiling microcode target
+ (add-before 'configure 'set-flags
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "CFLAGS" "-Wno-array-parameter")
+ (setenv "CPPFLAGS" "-Wno-array-parameter")))
(replace 'build
(lambda* (#:key system outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- 14/17: gnu: guile-hashing: Fix description., (continued)
- 14/17: gnu: guile-hashing: Fix description., guix-commits, 2023/07/11
- 03/17: home: services: bash: Properly quote shell aliases., guix-commits, 2023/07/11
- 07/17: gnu: xorriso: Update to 1.5.6.pl02, guix-commits, 2023/07/11
- 06/17: gnu: hwloc: Update to 2.9.2., guix-commits, 2023/07/11
- 05/17: gnu: guile-chickadee: Change license to Apache 2.0., guix-commits, 2023/07/11
- 10/17: gnu: qbittorrent{,-nox}: Use qt-build-system., guix-commits, 2023/07/11
- 11/17: gnu: rxvt-unicode: Update to 9.31 [fixes CVE-2022-4170]., guix-commits, 2023/07/11
- 12/17: gnu: rxvt-unicode: Use new package style., guix-commits, 2023/07/11
- 15/17: gnu: desktop-file-utils: Format description., guix-commits, 2023/07/11
- 17/17: gnu: gnuplot: Update to 5.4.8., guix-commits, 2023/07/11
- 08/17: gnu: mit-scheme: Fix building,
guix-commits <=
- 04/17: avahi: Fix exception when #:timeout is #f., guix-commits, 2023/07/11
- 13/17: gnu: rxvt-unicode: Use helper procedure to make desktop files., guix-commits, 2023/07/11
- 16/17: gnu: gmsh: Update to 4.11.1., guix-commits, 2023/07/11
- 02/17: cache: 'file-expiration-time' uses 'lstat', not 'stat'., guix-commits, 2023/07/11