diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-07-11 22:26:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-07-11 22:26:05 +0200 |
commit | e4015e570cdeeafdcab766aac02ca0e2340ffe41 (patch) | |
tree | dec528db169402bd694223f335bd6505b5326246 /gnu | |
parent | ed8111ea7530b1c591af016dc8d247e52cd776eb (diff) | |
download | patches-e4015e570cdeeafdcab766aac02ca0e2340ffe41.tar patches-e4015e570cdeeafdcab766aac02ca0e2340ffe41.tar.gz |
gnu: inetutils: Allow for cross-compilation.
* gnu/packages/admin.scm (inetutils)[arguments]: Pass
"--with-path-procnet-dev".
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/admin.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index ac8f155fcf..22b19a77ec 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)) |