guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: libxv: Pass --disable-malloc0returnsnull when cross-compilin


From: guix-commits
Subject: 04/06: gnu: libxv: Pass --disable-malloc0returnsnull when cross-compiling.
Date: Mon, 27 Sep 2021 14:37:38 -0400 (EDT)

mothacehe pushed a commit to branch core-updates-frozen
in repository guix.

commit 4b339c7e3d43fb6f742a391f55908bd796b94ac7
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 23 23:49:18 2021 +0200

    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 <othacehe@gnu.org>
---
 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 f3e9d93..f53962d 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]