summary refs log tree commit diff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-09-23 23:47:17 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-09-27 18:36:00 +0000
commitafdeef0dcbb41b64f3b948d0a76c0a19c2226067 (patch)
treed0f089a430fc95e63c6a6b4c1206e9614433ebc3 /gnu/packages/xorg.scm
parent211c3ac4239e05fc98aa5577d65b96ba6aef8d2b (diff)
downloadguix-afdeef0dcbb41b64f3b948d0a76c0a19c2226067.tar.gz
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>
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 235ff184f9..f3e9d93ba7 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)