[Buildroot] [git commit master] qt: Re-enable workaround for building on x86 for x86 target, also check for x86_64

Peter Korsgaard jacmet at sunsite.dk
Mon Jan 18 08:46:19 UTC 2010

commit: http://git.buildroot.net/buildroot/commit/?id=bc41dc5b8fbb637902dfaa0171deb5d6c63909e0
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: combined x86 + x86-64 logic, simplified]
Signed-off-by: Ormund Williams <ormundw at panix.com>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 package/qt/qt.mk |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index a3a466a..78b2eec 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -352,6 +352,16 @@ endif
+# 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)),)
+ifneq ($(findstring x86,$(BR2_PACKAGE_QT_EMB_PLATFORM)),)
+QT_CONFIGURE+= -platform linux-g++
+# End of workaround.
 # Figure out what libs to install in the target

More information about the buildroot mailing list