guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: libxvmc: Pass --disable-malloc0returnsnull when cross-compil


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

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

commit 38df0c033403a6ce9d330ae32a551a81ef44a822
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 23 23:49:42 2021 +0200

    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>
---
 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 f53962d..92706c0 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



reply via email to

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