mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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>
This commit is contained in:
parent
b27d3265c6
commit
b716d17e1c
1 changed files with 6 additions and 0 deletions
|
@ -138,6 +138,12 @@ (define-public mit-scheme
|
|||
(("\\./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")))
|
||||
|
|
Loading…
Reference in a new issue