mozjs17: fix build on aarch64.
This commit is contained in:
parent
abbc2231de
commit
b77ec11467
1 changed files with 11 additions and 0 deletions
11
srcpkgs/mozjs17/patches/aarch64.patch
Normal file
11
srcpkgs/mozjs17/patches/aarch64.patch
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- mfbt/double-conversion/utils.h
|
||||||
|
+++ mfbt/double-conversion/utils.h
|
||||||
|
@@ -58,7 +58,7 @@
|
||||||
|
defined(__mips__) || defined(__powerpc__) || \
|
||||||
|
defined(__sparc__) || defined(__sparc) || defined(__s390__) || \
|
||||||
|
defined(__SH4__) || defined(__alpha__) || \
|
||||||
|
- defined(_MIPS_ARCH_MIPS32R2)
|
||||||
|
+ defined(_MIPS_ARCH_MIPS32R2) || defined(__aarch64__)
|
||||||
|
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
|
||||||
|
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
|
||||||
|
#if defined(_WIN32)
|
Loading…
Reference in a new issue