mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
build-system/meson: Use 'target-arm32?' for armhf-linux case.
* guix/build-system/meson.scm (lower, meson-build): Replace armhf-linux detection with 'target-arm32?' macro.
This commit is contained in:
parent
05666fb8db
commit
24a2e9172a
1 changed files with 2 additions and 4 deletions
|
@ -86,8 +86,7 @@ (define private-keywords
|
|||
;; to avoid superfluous entries in RUNPATH as described
|
||||
;; in <https://bugs.gnu.org/28444#46>, so armhf may now
|
||||
;; have different runtime dependencies from other arches.
|
||||
,@(if (not (string-prefix? "arm" (or (%current-target-system)
|
||||
(%current-system))))
|
||||
,@(if (not (target-arm32?))
|
||||
`(("patchelf" ,(default-patchelf)))
|
||||
'())
|
||||
,@native-inputs))
|
||||
|
@ -148,8 +147,7 @@ (define builder
|
|||
#:search-paths ',(map search-path-specification->sexp
|
||||
search-paths)
|
||||
#:phases
|
||||
(if (string-prefix? "arm" ,(or (%current-target-system)
|
||||
(%current-system)))
|
||||
(if (target-arm32?)
|
||||
(modify-phases build-phases (delete 'fix-runpath))
|
||||
build-phases)
|
||||
#:configure-flags ,configure-flags
|
||||
|
|
Loading…
Reference in a new issue