|
|
@ -28,6 +28,7 @@ check_symbol_exists(XASH_LINUX "build.h" XASH_LINUX) |
|
|
|
check_symbol_exists(XASH_LITTLE_ENDIAN "build.h" XASH_LITTLE_ENDIAN) |
|
|
|
check_symbol_exists(XASH_LITTLE_ENDIAN "build.h" XASH_LITTLE_ENDIAN) |
|
|
|
check_symbol_exists(XASH_MINGW "build.h" XASH_MINGW) |
|
|
|
check_symbol_exists(XASH_MINGW "build.h" XASH_MINGW) |
|
|
|
check_symbol_exists(XASH_MIPS "build.h" XASH_MIPS) |
|
|
|
check_symbol_exists(XASH_MIPS "build.h" XASH_MIPS) |
|
|
|
|
|
|
|
check_symbol_exists(XASH_PPC "build.h" XASH_PPC) |
|
|
|
check_symbol_exists(XASH_MOBILE_PLATFORM "build.h" XASH_MOBILE_PLATFORM) |
|
|
|
check_symbol_exists(XASH_MOBILE_PLATFORM "build.h" XASH_MOBILE_PLATFORM) |
|
|
|
check_symbol_exists(XASH_MSVC "build.h" XASH_MSVC) |
|
|
|
check_symbol_exists(XASH_MSVC "build.h" XASH_MSVC) |
|
|
|
check_symbol_exists(XASH_NETBSD "build.h" XASH_NETBSD) |
|
|
|
check_symbol_exists(XASH_NETBSD "build.h" XASH_NETBSD) |
|
|
@ -97,6 +98,15 @@ elseif(XASH_MIPS) |
|
|
|
if(XASH_LITTLE_ENDIAN) |
|
|
|
if(XASH_LITTLE_ENDIAN) |
|
|
|
set(BUILDARCH "${BUILDARCH}el") |
|
|
|
set(BUILDARCH "${BUILDARCH}el") |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
elseif(XASH_PPC) |
|
|
|
|
|
|
|
set(BUILDARCH "powerpc") |
|
|
|
|
|
|
|
if(XASH_64BIT) |
|
|
|
|
|
|
|
set(BUILDARCH "${BUILDARCH}64") |
|
|
|
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(XASH_LITTLE_ENDIAN) |
|
|
|
|
|
|
|
set(BUILDARCH "${BUILDARCH}le") |
|
|
|
|
|
|
|
endif() |
|
|
|
elseif(XASH_RISCV) |
|
|
|
elseif(XASH_RISCV) |
|
|
|
set(BUILDARCH "riscv") |
|
|
|
set(BUILDARCH "riscv") |
|
|
|
if(XASH_64BIT) |
|
|
|
if(XASH_64BIT) |
|
|
|