зеркало из https://github.com/mozilla/gecko-dev.git
Bug 976648 - JavaScript build/config for powerpc64le-linux support. r=bsmedberg
This commit is contained in:
Родитель
2d2566d2fd
Коммит
5fa6677c42
|
@ -165,16 +165,22 @@
|
|||
|| defined(__POWERPC__) \
|
||||
|| defined(_M_PPC) \
|
||||
|| defined(__PPC)
|
||||
#if !defined(__ppc64__) && !defined(__PPC64__)
|
||||
#define WTF_CPU_PPC 1
|
||||
#endif
|
||||
#if !defined(__LITTLE_ENDIAN__)
|
||||
#define WTF_CPU_BIG_ENDIAN 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* WTF_CPU_PPC64 - PowerPC 64-bit */
|
||||
#if defined(__ppc64__) \
|
||||
|| defined(__PPC64__)
|
||||
#define WTF_CPU_PPC64 1
|
||||
#if !defined(__LITTLE_ENDIAN__)
|
||||
#define WTF_CPU_BIG_ENDIAN 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* WTF_CPU_SH4 - SuperH SH-4 */
|
||||
#if defined(__SH4__)
|
||||
|
|
|
@ -934,7 +934,7 @@ case "$OS_TEST" in
|
|||
CPU_ARCH=x86
|
||||
;;
|
||||
|
||||
powerpc64 | ppc64)
|
||||
powerpc64 | ppc64 | powerpc64le | ppc64le)
|
||||
CPU_ARCH=ppc64
|
||||
;;
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
# define IS_LITTLE_ENDIAN 1
|
||||
# undef IS_BIG_ENDIAN
|
||||
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined(__APPLE__) || defined(__powerpc__) || defined(__ppc__)
|
||||
# if __LITTLE_ENDIAN__
|
||||
# define IS_LITTLE_ENDIAN 1
|
||||
# undef IS_BIG_ENDIAN
|
||||
|
@ -89,8 +89,7 @@
|
|||
# endif
|
||||
|
||||
#elif defined(__sparc) || defined(__sparc__) || \
|
||||
defined(_POWER) || defined(__powerpc__) || \
|
||||
defined(__ppc__) || defined(__hppa) || \
|
||||
defined(_POWER) || defined(__hppa) || \
|
||||
defined(_MIPSEB) || defined(_BIG_ENDIAN)
|
||||
/* IA64 running HP-UX will have _BIG_ENDIAN defined.
|
||||
* IA64 running Linux will have endian.h and be handled above.
|
||||
|
|
Загрузка…
Ссылка в новой задаче