From 4b339c7e3d43fb6f742a391f55908bd796b94ac7 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Thu, 23 Sep 2021 23:49:18 +0200 Subject: gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling. This fixes a configure error when cross-compiling and doesn't cause any rebuilds. * gnu/packages/xorg.scm (libxv)[arguments]<#:configure-flags>: Add malloc0flags. Signed-off-by: Mathieu Othacehe --- gnu/packages/xorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f3e9d93ba7..f53962d618 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -4959,7 +4959,7 @@ protocol and arbitrary X extension protocol.") "125hn06bd3d8y97hm2pbf5j55gg4r2hpd3ifad651i4sr7m16v6j")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + `(#:configure-flags '(,@(malloc0-flags) "--disable-static"))) (propagated-inputs `(("xorgproto" ,xorgproto))) (inputs -- cgit v1.2.3