mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: m4: Fix build of tests on the 64bit Hurd.
* gnu/packages/m4.scm (m4)[arguments]: When building on the 64bit Hurd, add CFLAGS to #:configure-flags. Change-Id: Iab16194f4cd2911b4610dddd855064ddc4958dd9
This commit is contained in:
parent
d9bb372453
commit
178c3115c4
1 changed files with 6 additions and 0 deletions
|
@ -43,6 +43,12 @@ (define-public m4
|
|||
`(;; Explicitly disable tests when cross-compiling, otherwise 'make check'
|
||||
;; proceeds and fails, unsurprisingly.
|
||||
#:tests? ,(not (%current-target-system))
|
||||
,@(if (system-hurd64?)
|
||||
(list #:configure-flags
|
||||
`'(,(string-append
|
||||
"CFLAGS=-g -O2"
|
||||
" -Wno-implicit-function-declaration")))
|
||||
'())
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'disable-test
|
||||
|
|
Loading…
Reference in a new issue