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>master
parent
b27d3265c6
commit
b716d17e1c
|
@ -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")))
|
||||
|
|
Reference in New Issue