gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling.

This fixes a configure error when cross-compiling and doesn't
cause any rebuilds.

* gnu/packages/xorg.scm (xev)[arguments]<#:configure-flags>:
  Add malloc0flags.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-09-23 23:47:17 +02:00 committed by Mathieu Othacehe
parent 211c3ac423
commit afdeef0dcb
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2441,6 +2441,7 @@ (define-public xev
(base32
"1ql592pdhddhkipkrsxn929y9l2nn02a5fh2z3dx47kmzs5y006p"))))
(build-system gnu-build-system)
(arguments `(#:configure-flags ',(malloc0-flags)))
(inputs
`(("libxrender" ,libxrender)
("libxrandr" ,libxrandr)