* [Buildroot] [PATCH] Re-enable workaround for building qt-ebedded on x86 for x86 target, also check for x86_64 target.
@ 2010-01-13 22:55 Ormund Williams
2010-01-18 10:41 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Ormund Williams @ 2010-01-13 22:55 UTC (permalink / raw)
To: buildroot
Signed-off-by: Ormund Williams <ormundw@panix.com>
---
package/qt/qt.mk | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 4b6876f..d003908 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -347,6 +347,21 @@ endif
BR2_PACKAGE_QT_EMB_PLATFORM:=$(call qstrip,
$(BR2_PACKAGE_QT_EMB_PLATFORM))
+# x86x86fix
+# Workaround Qt Embedded bug when crosscompiling for x86 under x86 with
linux
+# host. It's unclear if this would happen on other hosts.
+ifneq ($(findstring pc-linux,$(BR2_GNU_BUILD_SUFFIX)),)
+ifeq ($(BR2_PACKAGE_QT_EMB_PLATFORM),x86)
+QT_CONFIGURE+= -platform linux-g++
+QT_CONFIGURE:=$(call qstrip,$(QT_CONFIGURE))
+endif
+ifeq ($(BR2_PACKAGE_QT_EMB_PLATFORM),x86_64)
+QT_CONFIGURE+= -platform linux-g++
+QT_CONFIGURE:=$(call qstrip,$(QT_CONFIGURE))
+endif
+endif
+# End of workaround.
+
# Figure out what libs to install in the target
QT_LIBS=#empty
ifeq ($(BR2_PACKAGE_QT_GUI_MODULE),y)
--
1.5.6.5
--
Ormund Williams
OrmLab LLC
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-18 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-13 22:55 [Buildroot] [PATCH] Re-enable workaround for building qt-ebedded on x86 for x86 target, also check for x86_64 target Ormund Williams
2010-01-18 10:41 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox