summaryrefslogtreecommitdiffstats
path: root/package/qt
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-02-26 22:23:45 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-26 22:30:12 +0100
commit974a0da6e1bf73c5091d21f1e89e08974b078432 (patch)
treef0d4c678aeddb7b265aa337b505ef39a254d0bdc /package/qt
parentfbfda06cb9d9aa1708915ec4148d08a0ca36cbc2 (diff)
downloadbuildroot-novena-974a0da6e1bf73c5091d21f1e89e08974b078432.tar.gz
buildroot-novena-974a0da6e1bf73c5091d21f1e89e08974b078432.zip
qt: fix build with gcc 4.6.x on arm
As noted by Ismael Luceno. For details, see: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt')
-rw-r--r--package/qt/qt.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 68f93483c..776eb63af 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -201,6 +201,11 @@ endif
ifeq ($(BR2_arm)$(BR2_armeb),y)
QT_EMB_PLATFORM = arm
+ifeq ($(BR2_GCC_VERSION_4_6_X),y)
+# workaround for gcc issue
+# http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html
+QT_CXXFLAGS += -fno-strict-volatile-bitfields
+endif
else ifeq ($(BR2_avr32),y)
QT_EMB_PLATFORM = avr32
else ifeq ($(BR2_i386),y)