From 38df0c033403a6ce9d330ae32a551a81ef44a822 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Thu, 23 Sep 2021 23:49:42 +0200 Subject: [PATCH] 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 --- gnu/packages/xorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f53962d618..92706c0240 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5272,7 +5272,7 @@ new API's in libXft, or the legacy API's in libX11.") "1kbdjsvkm5l7axv7g477qj18sab2wnqhliy6197syzizgfbsfgbb")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + `(#:configure-flags '(,@(malloc0-flags) "--disable-static"))) (propagated-inputs `(("libxv" ,libxv))) (inputs