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

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

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

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-09-23 23:49:42 +02:00 committed by Mathieu Othacehe
parent 4b339c7e3d
commit 38df0c0334
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -5272,7 +5272,7 @@ (define-public libxvmc
"1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-static")))
`(#:configure-flags '(,@(malloc0-flags) "--disable-static")))
(propagated-inputs
`(("libxv" ,libxv)))
(inputs