summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/linux.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b53c02e1dc..469ccc552c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -102,7 +102,8 @@
(guix build utils)
(srfi srfi-1))
#:phases (alist-replace
- 'build ,(build-phase (%current-system))
+ 'build ,(build-phase (or (%current-target-system)
+ (%current-system)))
(alist-replace
'install ,install-phase
(alist-delete 'configure %standard-phases)))