mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-17 12:17:10 -05:00
build-system/gnu: Disable 'ld.so.cache' generation when cross-compiling.
* guix/build-system/gnu.scm (gnu-cross-build): Change #:make-dynamic-linker-cache? to #f.
This commit is contained in:
parent
f49c13f183
commit
1209447ad3
1 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -506,7 +506,12 @@ (define* (gnu-cross-build store name
|
|||
(strip-directories ''("lib" "lib64" "libexec"
|
||||
"bin" "sbin"))
|
||||
(validate-runpath? #t)
|
||||
(make-dynamic-linker-cache? #t)
|
||||
|
||||
;; We run 'ldconfig' to generate ld.so.cache and it
|
||||
;; generally can't do that for cross-built binaries
|
||||
;; ("ldconfig: foo.so is for unknown machine 40.").
|
||||
(make-dynamic-linker-cache? #f)
|
||||
|
||||
(license-file-regexp %license-file-regexp)
|
||||
(phases '%standard-phases)
|
||||
(locale "en_US.utf8")
|
||||
|
|
Loading…
Reference in a new issue