mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
webkitgtk: Enable building for ARC architecture
For that we need 2 things:
1. Disable JIT in JS as it's not supported for ARC.
2. Compile with "-mlong-calls" so relocations with
offsets larger than 25 bits are used, otherwise
linker fails to link final binaries.
(From OE-Core rev: 463f10fde9f72d26e89db324ca675bfe597fcc5e)
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d6fe480c2b
commit
8a0940eb50
@@ -69,6 +69,13 @@ EXTRA_OECMAKE = " \
|
||||
EXTRA_OECMAKE_append_x86 = " -DUSE_GSTREAMER_GL=OFF "
|
||||
EXTRA_OECMAKE_append_x86-x32 = " -DUSE_GSTREAMER_GL=OFF "
|
||||
|
||||
# Javascript JIT is not supported on ARC
|
||||
EXTRA_OECMAKE_append_arc = " -DENABLE_JIT=OFF "
|
||||
# By default 25-bit "medium" calls are used on ARC
|
||||
# which is not enough for binaries larger than 32 MiB
|
||||
CFLAGS_append_arc = " -mlong-calls"
|
||||
CXXFLAGS_append_arc = " -mlong-calls"
|
||||
|
||||
# Javascript JIT is not supported on powerpc
|
||||
EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF "
|
||||
EXTRA_OECMAKE_append_powerpc64 = " -DENABLE_JIT=OFF "
|
||||
|
||||
Reference in New Issue
Block a user