From: Richard Genoud Date: Tue, 20 Jan 2015 11:24:39 +0000 (+0100) Subject: qt: Force arm mode instead of Thumb1 mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffc55c714c1733f9fe57e8377b4ca3d7544273d5;p=buildroot.git qt: Force arm mode instead of Thumb1 mode Qt has some assembly that doesn't exist in thumb1 mode. So, force arm mode for Qt Signed-off-by: Richard Genoud Tested-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- diff --git a/package/qt/qt.mk b/package/qt/qt.mk index 36afaad3f1..9ea676cafd 100644 --- a/package/qt/qt.mk +++ b/package/qt/qt.mk @@ -52,6 +52,14 @@ endif endif +# Qt has some assembly function that are not present in thumb1 mode: +# Error: selected processor does not support Thumb mode `swp r3,r7,[r4]' +# so, we desactivate thumb mode +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +QT_CFLAGS += -marm +QT_CXXFLAGS += -marm +endif + ifeq ($(BR2_PACKAGE_QT_QT3SUPPORT),y) QT_CONFIGURE_OPTS += -qt3support else