mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-25 11:19:39 +01:00
Add PowerPC support
This commit is contained in:
parent
b776a2b4fc
commit
a754219217
@ -47,6 +47,7 @@ DEFINES = [
|
|||||||
'XASH_LITTLE_ENDIAN',
|
'XASH_LITTLE_ENDIAN',
|
||||||
'XASH_MINGW',
|
'XASH_MINGW',
|
||||||
'XASH_MIPS',
|
'XASH_MIPS',
|
||||||
|
'XASH_PPC',
|
||||||
'XASH_MOBILE_PLATFORM',
|
'XASH_MOBILE_PLATFORM',
|
||||||
'XASH_MSVC',
|
'XASH_MSVC',
|
||||||
'XASH_NETBSD',
|
'XASH_NETBSD',
|
||||||
@ -123,6 +124,12 @@ def configure(conf):
|
|||||||
buildarch += "64"
|
buildarch += "64"
|
||||||
if conf.env.XASH_LITTLE_ENDIAN:
|
if conf.env.XASH_LITTLE_ENDIAN:
|
||||||
buildarch += "el"
|
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:
|
elif conf.env.XASH_RISCV:
|
||||||
buildarch = "riscv"
|
buildarch = "riscv"
|
||||||
if conf.env.XASH_64BIT:
|
if conf.env.XASH_64BIT:
|
||||||
|
Loading…
Reference in New Issue
Block a user