From 9991a07e493eeb959b9b8b341f149387429c9998 Mon Sep 17 00:00:00 2001 From: Franz-Josef Haider Date: Tue, 26 Sep 2017 15:55:54 +0300 Subject: [PATCH] [nemo][xulrunner] Build xulrunner with ARM instruction set instead of THUMB. Fixes JB#33431 This avoids: Branches from THUMB code to ARM code without the ARM processor state being changed. i.e fixes crashes (at least) when playing back ogg theora files. Signed-off-by: Franz-Josef Haider --- rpm/xulrunner-qt5.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpm/xulrunner-qt5.spec b/rpm/xulrunner-qt5.spec index 8de48eb4cf250..2c69dec79a656 100644 --- a/rpm/xulrunner-qt5.spec +++ b/rpm/xulrunner-qt5.spec @@ -201,8 +201,8 @@ printf "#\n# Added by xulrunner-qt.spec:\n#" >> "$MOZCONFIG" %ifarch %arm echo "ac_add_options --with-arm-kuser" >> "$MOZCONFIG" echo "ac_add_options --with-float-abi=toolchain-default" >> "$MOZCONFIG" -# No need for this, this should be managed by toolchain -echo "ac_add_options --with-thumb=toolchain-default" >> "$MOZCONFIG" +# Do not build as thumb since it breaks video decoding. +echo "ac_add_options --with-thumb=no" >> "$MOZCONFIG" %endif echo "mk_add_options MOZ_MAKE_FLAGS='%{?jobs:-j%jobs}'" >> "$MOZCONFIG"