Skip to content

Commit 28bd411

Browse files
OldManYellsAtCloudotavio
authored andcommitted
firefox: disable sandbox for 32-bit arm
When content sandbox is enabled, 32-bit arm build keeps crashing - at least the tabs only display this error. It looks like that due to some sandbox restrictions on this arch it is not able to load any fonts, that makes it give up on everything. The build works also with sandbox, if MOZ_DISABLE_CONTENT_SANDBOX=1 environment variable is set. For now, just disable sandbox for this arch, and investigate it later.
1 parent 4274868 commit 28bd411

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

meta-firefox/classes/mozilla.bbclass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ EXTRA_OECONF = "--target=${TARGET_SYS} --host=${BUILD_SYS} \
77
--with-toolchain-prefix=${TARGET_SYS}- \
88
--prefix=${prefix} \
99
--libdir=${libdir}"
10+
1011
EXTRA_OECONF:append:arm = " --disable-elf-hack"
1112
EXTRA_OECONF:append:x86 = " --disable-elf-hack"
1213
EXTRA_OECONF:append:x86-64 = " --disable-elf-hack"
14+
1315
SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"
1416

1517
export CROSS_COMPILE = "1"

0 commit comments

Comments
 (0)