Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ormund Williams <ormundw@panix.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Re-enable workaround for building qt-ebedded on x86 for	x86 target, also check for x86_64 target.
Date: Wed, 13 Jan 2010 17:55:52 -0500	[thread overview]
Message-ID: <1263423352.12606.28.camel@station1.ormlab.com> (raw)

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

             reply	other threads:[~2010-01-13 22:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-13 22:55 Ormund Williams [this message]
2010-01-18 10:41 ` [Buildroot] [PATCH] Re-enable workaround for building qt-ebedded on x86 for x86 target, also check for x86_64 target Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1263423352.12606.28.camel@station1.ormlab.com \
    --to=ormundw@panix.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox