guix-commits
[Top][All Lists]
Advanced

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

03/06: gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling.


From: guix-commits
Subject: 03/06: gnu: xev: 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 afdeef0dcbb41b64f3b948d0a76c0a19c2226067
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Thu Sep 23 23:47:17 2021 +0200

    gnu: xev: Pass --disable-malloc0returnsnull when cross-compiling.
    
    This fixes a configure error when cross-compiling and doesn't
    cause any rebuilds.
    
    * gnu/packages/xorg.scm (xev)[arguments]<#:configure-flags>:
      Add malloc0flags.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/xorg.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 235ff18..f3e9d93 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -2441,6 +2441,7 @@ DRI (Direct Rendering Infrastructure) drivers.")
           (base32
             "1ql592pdhddhkipkrsxn929y9l2nn02a5fh2z3dx47kmzs5y006p"))))
     (build-system gnu-build-system)
+    (arguments `(#:configure-flags ',(malloc0-flags)))
     (inputs
       `(("libxrender" ,libxrender)
         ("libxrandr" ,libxrandr)



reply via email to

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