mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: coreutils: Fix cross-compilation to i586-pc-gnu.
Until now cross-compilation would fail with: i586-pc-gnu-ld: src/copy.o: undefined reference to symbol 'file_chauthor' i586-pc-gnu-ld: /gnu/store/…-glibc-cross-i586-pc-gnu-2.29/lib/libhurduser.so.0.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status * gnu/packages/base.scm (coreutils)[arguments]: When 'hurd-target?', add #:configure-flags.
This commit is contained in:
parent
2c33901fb1
commit
67cbfeae30
1 changed files with 7 additions and 0 deletions
|
@ -330,6 +330,13 @@ (define-public coreutils
|
|||
(outputs '("out" "debug"))
|
||||
(arguments
|
||||
`(#:parallel-build? #f ; help2man may be called too early
|
||||
|
||||
;; 'cp' and others refer to 'file_chauthor' so they must link directly
|
||||
;; against libhurduser.
|
||||
,@(if (hurd-target?)
|
||||
'(#:configure-flags '("LIBS=-lhurduser"))
|
||||
'())
|
||||
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-before 'build 'patch-shell-references
|
||||
(lambda _
|
||||
|
|
Loading…
Reference in a new issue