Browse Source

gnu: linux-libre-headers: Support cross-compilation.

* gnu/packages/linux.scm (linux-libre-headers):
  When (%current-target-system) is true, pass it as the argument to
  'build-phase'.  This fixes cross-compilation.
  Reported by Mark H. Weaver <mhw@netris.org>.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
fb6c2fa82e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      gnu/packages/linux.scm

+ 2
- 1
gnu/packages/linux.scm View File

@ -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)))


Loading…
Cancel
Save