build-style/meson: recognize ppcle for cross

This commit is contained in:
q66 2020-04-30 01:05:23 +02:00
parent e46ea34662
commit 81e7a17c79

View file

@ -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'