[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation.
From: |
Marius Bakke |
Subject: |
[bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation. |
Date: |
Mon, 08 Jul 2019 19:39:28 +0200 |
User-agent: |
Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) |
Mathieu Othacehe <address@hidden> writes:
> * gnu/packages/perl.scm (perl)[arguments]: Use cross-libc instead of libc when
> cross-compiling.
[...]
> @@ -81,7 +82,7 @@
> "perl-reproducible-build-date.patch"))))
> (build-system gnu-build-system)
> (arguments
> - '(#:tests? #f
> + `(#:tests? #f
> #:configure-flags
> (let ((out (assoc-ref %outputs "out"))
> (libc (assoc-ref %build-inputs "libc")))
> @@ -130,7 +131,9 @@
> (add-after 'install 'remove-extra-references
> (lambda* (#:key inputs outputs #:allow-other-keys)
> (let* ((out (assoc-ref outputs "out"))
> - (libc (assoc-ref inputs "libc"))
> + (libc (assoc-ref inputs
> + ,(if (%current-target-system)
> + "cross-libc" "libc")))
> (config1 (car (find-files (string-append out
> "/lib/perl5")
> "^Config_heavy\\.pl$")))
> (config2 (find-files (string-append out "/lib/perl5")
OK!
signature.asc
Description: PGP signature
- [bug#36477] Add Guix System cross-compilation support, Mathieu Othacehe, 2019/07/02
- [bug#36477] [PATCH 00/31] Fix cross-compilation issues, Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 01/31] gnu: perl: Fix cross-compilation.,
Marius Bakke <=
- [bug#36477] [PATCH 03/31] gnu: tcl: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 05/31] gnu: libxslt: Fix cross-compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 02/31] gnu: python: Fix cross compilation., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 06/31] gnu: xorg: Fix cross-compilation of multiple packages., Mathieu Othacehe, 2019/07/08
- [bug#36477] [PATCH 09/31] gnu: http-parser: Fix cross-compilation., Mathieu Othacehe, 2019/07/08