mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: openssh: Fix cross-compilation.
* gnu/packages/ssh.scm (openssh): Pass --disable-strip argument when cross-compiling.
This commit is contained in:
parent
adf218e2e8
commit
3d8c77836b
1 changed files with 10 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
;;; Copyright © 2017 ng0 <ng0@n0.is>
|
;;; Copyright © 2017 ng0 <ng0@n0.is>
|
||||||
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
||||||
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
|
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
|
||||||
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -165,7 +166,15 @@ (define-public openssh
|
||||||
"--with-libedit"
|
"--with-libedit"
|
||||||
|
|
||||||
;; Enable PAM support in sshd.
|
;; Enable PAM support in sshd.
|
||||||
"--with-pam")
|
"--with-pam"
|
||||||
|
|
||||||
|
;; "make install" runs "install -s" by default,
|
||||||
|
;; which doesn't work for cross-compiled binaries
|
||||||
|
;; because it invokes 'strip' instead of
|
||||||
|
;; 'TRIPLET-strip'. Work around this.
|
||||||
|
,,@(if (%current-target-system)
|
||||||
|
'("--disable-strip")
|
||||||
|
'()))
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|
Loading…
Reference in a new issue