diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2016-04-21 15:12:00 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-04-28 10:38:36 +0200 |
commit | d95712f0fa8218fb1995bf88634e4493a16acbab (patch) | |
tree | 24e369185130e1564a354ac848818e25cd612871 /meta-oe/recipes-extended | |
parent | 63606ed546d64b5bd1998c66bb522d1dd9e65c6a (diff) | |
download | meta-openembedded-d95712f0fa8218fb1995bf88634e4493a16acbab.tar.gz |
mozjs: fix armeb builds
The mozjs builds fails on armeb, so add a define to make it work.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch | 26 | ||||
-rw-r--r-- | meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch b/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch new file mode 100644 index 000000000..7b7038f6f --- /dev/null +++ b/meta-oe/recipes-extended/mozjs/mozjs/0001-add-support-for-big-endian-32bit-ARM.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 07830cbc409f8e998fa839275470031fc83d6eb6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen.kooi@linaro.org> | ||
3 | Date: Thu, 21 Apr 2016 14:10:54 +0200 | ||
4 | Subject: [PATCH] add support for big endian 32bit ARM | ||
5 | |||
6 | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> | ||
7 | --- | ||
8 | mfbt/double-conversion/utils.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h | ||
12 | index fe26dab..78a19cb 100644 | ||
13 | --- a/mfbt/double-conversion/utils.h | ||
14 | +++ b/mfbt/double-conversion/utils.h | ||
15 | @@ -58,7 +58,7 @@ | ||
16 | defined(__mips__) || defined(__powerpc__) || \ | ||
17 | defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ | ||
18 | defined(__SH4__) || defined(__alpha__) || \ | ||
19 | - defined(__aarch64__) || \ | ||
20 | + defined(__aarch64__) || defined(__ARMEB__) || \ | ||
21 | defined(_MIPS_ARCH_MIPS32R2) | ||
22 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
23 | #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) | ||
24 | -- | ||
25 | 2.4.3 | ||
26 | |||
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb index be4b50b8e..cab6dd5a8 100644 --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | |||
@@ -14,6 +14,7 @@ SRC_URI = " \ | |||
14 | file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \ | 14 | file://fix-the-compile-error-of-powerpc64.patch;patchdir=../../ \ |
15 | file://fix_milestone_compile_issue.patch \ | 15 | file://fix_milestone_compile_issue.patch \ |
16 | file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \ | 16 | file://0010-fix-cross-compilation-on-i586-targets.patch;patchdir=../../ \ |
17 | file://0001-add-support-for-big-endian-32bit-ARM.patch;patchdir=../../ \ | ||
17 | " | 18 | " |
18 | 19 | ||
19 | SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" | 20 | SRC_URI[md5sum] = "20b6f8f1140ef6e47daa3b16965c9202" |