meson: Fix ppc64 little endian detection
authorDylan Baker <dylan@pnwbakers.com>
Tue, 4 Dec 2018 17:28:10 +0000 (09:28 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 18 Dec 2018 17:17:54 +0000 (09:17 -0800)
commite430a034b9d2be626557931cd29808a3161889f1
tree29c4d9a6ae02f5e3758ec3f546815cf8e21954dd
parent3feda3cf3574cb48e7b42e9e80328069591d7859
meson: Fix ppc64 little endian detection

Old versions of meson returned ppc64le as the cpu_family for little
endian power8 cpus, versions >=0.48 don't do this, so the check wouldn't
work in that case. This generalizes the check to work for both old and
new versions of meson.

Fixes: 34bbb24ce7702658cdc4e9d34a650e169716c39e
       ("meson: Add support for ppc assembly/optimizations")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
meson.build