From 81e7a17c79bf6ef6a5b15ab3679e1be217ee89c2 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 30 Apr 2020 01:05:23 +0200 Subject: [PATCH] build-style/meson: recognize ppcle for cross --- common/build-style/meson.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/common/build-style/meson.sh b/common/build-style/meson.sh index 65238d3b54b..38bbddd765a 100644 --- a/common/build-style/meson.sh +++ b/common/build-style/meson.sh @@ -16,10 +16,6 @@ do_patch() { armv*) _MESON_CPU_FAMILY=arm ;; - ppc|ppc-musl) - _MESON_TARGET_ENDIAN=big - _MESON_CPU_FAMILY=ppc - ;; i686*) _MESON_CPU_FAMILY=x86 ;; @@ -30,6 +26,13 @@ do_patch() { _MESON_TARGET_ENDIAN=big _MESON_CPU_FAMILY=ppc64 ;; + ppcle*) + _MESON_CPU_FAMILY=ppc + ;; + ppc*) + _MESON_TARGET_ENDIAN=big + _MESON_CPU_FAMILY=ppc + ;; *) # if we reached here that means that the cpu and cpu_family # are the same like 'x86_64' and 'aarch64'