From d0ef3c0819e03af4982ba6066bcda8967bedb44a 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(+) (limited to 'recipes-qt/qt5') diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 8892b410..ab6751d8 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb @@ -172,6 +172,11 @@ deltask generate_qt_config_file XPLATFORM_toolchain-clang = "linux-oe-clang" XPLATFORM ?= "linux-oe-g++" +# 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() { # Regenerate header files when they are included in source tarball # Otherwise cmake files don't set PRIVATE_HEADERS correctly -- cgit v1.2.3-54-g00ecf