From 540e38fae9f836f91b3365422fdfae0f035f6c8a Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 24 May 2018 18:16:16 +0000 Subject: qtbase: don't use thumb for armv[45] * it fails when building with gcc8 Signed-off-by: Martin Jansa --- recipes-qt/qt5/qtbase_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 140a2bc2..33a57ed7 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -139,6 +139,11 @@ QT_CONFIG_FLAGS += " \ # since we cannot set empty set filename to a not existent file export OE_QMAKE_QTCONF_PATH = "foodummy" +# Causes qdrawhelper.s: Error: unaligned opcodes detected in executable segment +# when building qtbase/5.6.3+gitAUTOINC+e6f8b072d2-r0/git/src/gui/painting/qdrawhelper.cpp +ARM_INSTRUCTION_SET_armv4 = "arm" +ARM_INSTRUCTION_SET_armv5 = "arm" + do_configure() { # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration touch ${S}/mkspecs/oe-device-extra.pri -- cgit v1.2.3