guix-commits
[Top][All Lists]
Advanced

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

07/09: gnu: procps: Fix cross-compilation.


From: guix-commits
Subject: 07/09: gnu: procps: Fix cross-compilation.
Date: Fri, 20 Sep 2019 04:18:01 -0400 (EDT)

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

commit 8d4d533b44f11580d9b8a4c85ab6fdc12a60fcd0
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 f3f4222..087ca13 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]