guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: inetutils: Allow for cross-compilation.


From: Ludovic Courtès
Subject: 02/04: gnu: inetutils: Allow for cross-compilation.
Date: Tue, 11 Jul 2017 17:59:58 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e4015e570cdeeafdcab766aac02ca0e2340ffe41
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jul 11 22:26:05 2017 +0200

    gnu: inetutils: Allow for cross-compilation.
    
    * gnu/packages/admin.scm (inetutils)[arguments]: Pass
    "--with-path-procnet-dev".
---
 gnu/packages/admin.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ac8f155..22b19a7 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -271,7 +271,13 @@ re-executing them as necessary.")
                "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:configure-flags '("--localstatedir=/var")
+     `(#:configure-flags '("--localstatedir=/var"
+
+                           ;; Make sure 'PATH_PROCNET_DEV' gets defined when
+                           ;; cross-compiling (by default it does not.)
+                           ,@(if (%current-target-system)
+                                 '("--with-path-procnet-dev=/proc/net/dev")
+                                 '()))
        ;; On some systems, 'libls.sh' may fail with an error such as:
        ;; "Failed to tell switch -a apart from -A".
        #:parallel-tests? #f))



reply via email to

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