3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: libxt: Fix cross-compilation.

* gnu/packages/xorg.scm (libxt)[arguments]: Pass --disable-malloc0returnsnull
configure flag when cross-compiling.
This commit is contained in:
Mathieu Othacehe 2019-12-26 17:55:43 +01:00
parent 7681436bfd
commit adf218e2e8
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -5411,10 +5411,15 @@ draggable titlebars and borders.")
(outputs '("out"
"doc")) ;2 MiB of man pages + XML
(arguments
'(#:configure-flags (list (string-append "--mandir="
(assoc-ref %outputs "doc")
"/share/man")
"--disable-static")))
`(#:configure-flags
(list (string-append "--mandir="
(assoc-ref %outputs "doc")
"/share/man")
"--disable-static"
;; Disable zero malloc check that fails when cross-compiling.
,@(if (%current-target-system)
'("--disable-malloc0returnsnull")
'()))))
(propagated-inputs
`(("libx11" ,libx11)
("libice" ,libice)