guix-commits
[Top][All Lists]
Advanced

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

40/61: gnu: procps: Fix cross-compilation.


From: guix-commits
Subject: 40/61: gnu: procps: Fix cross-compilation.
Date: Wed, 21 Aug 2019 04:24:54 -0400 (EDT)

mothacehe pushed a commit to branch wip-cross-system
in repository guix.

commit 6a80268fb3b39b4d335101729ea0c311f2e85b7d
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 ac7312b..cf403c4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1138,10 +1138,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]