Revert "build-system/meson: Use 'target-arm32?' for armhf-linux case."

This reverts commit 3a7597e414.
This commit is contained in:
Efraim Flashner 2018-03-22 20:32:48 +02:00
parent 3a7597e414
commit 919034068e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 2 deletions

View File

@ -86,7 +86,8 @@
;; to avoid superfluous entries in RUNPATH as described ;; to avoid superfluous entries in RUNPATH as described
;; in <https://bugs.gnu.org/28444#46>, so armhf may now ;; in <https://bugs.gnu.org/28444#46>, so armhf may now
;; have different runtime dependencies from other arches. ;; have different runtime dependencies from other arches.
,@(if (not (target-arm32?)) ,@(if (not (string-prefix? "arm" (or (%current-target-system)
(%current-system))))
`(("patchelf" ,(default-patchelf))) `(("patchelf" ,(default-patchelf)))
'()) '())
,@native-inputs)) ,@native-inputs))
@ -147,7 +148,8 @@ has a 'meson.build' file."
#:search-paths ',(map search-path-specification->sexp #:search-paths ',(map search-path-specification->sexp
search-paths) search-paths)
#:phases #:phases
(if (target-arm32?) (if (string-prefix? "arm" ,(or (%current-target-system)
(%current-system)))
(modify-phases build-phases (delete 'fix-runpath)) (modify-phases build-phases (delete 'fix-runpath))
build-phases) build-phases)
#:configure-flags ,configure-flags #:configure-flags ,configure-flags