diff options
author | barracuda156 <vital.had@gmail.com> | 2022-04-10 08:16:46 +0800 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-19 11:45:24 -0400 |
commit | aa2025cf9785d184386596578a85cd5523c88bc3 (patch) | |
tree | 3a883e55c3d8ab4724c86b67fd46839be88a738c /mesonbuild/mesonlib | |
parent | 1b9c4b7192ef9a5fd5850f5b2d6f6cb43ee1623a (diff) | |
download | meson-aa2025cf9785d184386596578a85cd5523c88bc3.zip meson-aa2025cf9785d184386596578a85cd5523c88bc3.tar.gz meson-aa2025cf9785d184386596578a85cd5523c88bc3.tar.bz2 |
Fix universal builds on Darwin PPC: add ppc7400 definition
Diffstat (limited to 'mesonbuild/mesonlib')
-rw-r--r-- | mesonbuild/mesonlib/universal.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py index dd8473e..d0e4e42 100644 --- a/mesonbuild/mesonlib/universal.py +++ b/mesonbuild/mesonlib/universal.py @@ -710,6 +710,7 @@ def darwin_get_object_archs(objpath: str) -> 'ImmutableListProtocol[str]': # Convert from lipo-style archs to meson-style CPUs stdo = stdo.replace('i386', 'x86') stdo = stdo.replace('arm64', 'aarch64') + stdo = stdo.replace('ppc7400', 'ppc') # Add generic name for armv7 and armv7s if 'armv7' in stdo: stdo += ' arm' |