From a754219217cadb2e5cd2024a20b8516d44607848 Mon Sep 17 00:00:00 2001 From: James Davies Date: Sun, 5 Dec 2021 18:38:33 +0000 Subject: [PATCH] Add PowerPC support --- scripts/waifulib/library_naming.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/waifulib/library_naming.py b/scripts/waifulib/library_naming.py index dd825088..a3929067 100644 --- a/scripts/waifulib/library_naming.py +++ b/scripts/waifulib/library_naming.py @@ -47,6 +47,7 @@ DEFINES = [ 'XASH_LITTLE_ENDIAN', 'XASH_MINGW', 'XASH_MIPS', +'XASH_PPC', 'XASH_MOBILE_PLATFORM', 'XASH_MSVC', 'XASH_NETBSD', @@ -123,6 +124,12 @@ def configure(conf): buildarch += "64" if conf.env.XASH_LITTLE_ENDIAN: buildarch += "el" + elif conf.env.XASH_PPC: + buildarch = "powerpc" + if conf.env.XASH_64BIT: + buildarch += "64" + if conf.env.XASH_LITTLE_ENDIAN: + buildarch += "le" elif conf.env.XASH_RISCV: buildarch = "riscv" if conf.env.XASH_64BIT: