guix-commits
[Top][All Lists]
Advanced

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

30/35: gnu: procps: Fix cross-compilation.


From: guix-commits
Subject: 30/35: gnu: procps: Fix cross-compilation.
Date: Thu, 10 Oct 2019 11:33:20 -0400 (EDT)

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

commit f0d5ce5a117b8195f2e5a3eb059d3f9038b5a90a
Author: Mathieu Othacehe <address@hidden>
Date:   Fri Aug 2 11:32:06 2019 +0200

    gnu: procps: Fix cross-compilation.
    
    * gnu/packages/linux.scm (procps)[arguments]: Add configure flags needed 
from
    cross-compilation.
---
 gnu/packages/linux.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7ac5a77..351087e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1141,10 +1141,16 @@ by Robert Shea and Robert Anton Wilson.")
                 "0r84kwa5fl0sjdashcn4vh7hgfm7ahdcysig3mcjvpmkzi7p9g8h"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:modules ((guix build utils)
+     `(#:modules ((guix build utils)
                   (guix build gnu-build-system)
                   (srfi srfi-1)
                   (srfi srfi-26))
+       ,@(if (%current-target-system)
+             '(#:configure-flags
+               (list
+                "ac_cv_func_malloc_0_nonnull=yes"
+                "ac_cv_func_realloc_0_nonnull=yes"))
+             '())
        #:phases
        (modify-phases %standard-phases
          (add-after



reply via email to

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