diff options
author | Thiago A. CorrĂȘa <thiago.correa@gmail.com> | 2009-04-20 22:26:09 +0000 |
---|---|---|
committer | Thiago A. CorrĂȘa <thiago.correa@gmail.com> | 2009-04-20 22:26:09 +0000 |
commit | f9c5711c07232f8a1c00562ebc911b4604652b14 (patch) | |
tree | fe6d90145dd0ec781efc788fff3c982e3ba9f85c /package/qtopia4 | |
parent | 3165260921f25826ee89196b8710884af145fd97 (diff) |
Workaround problem with configure for x86 crosscompile to x86 under linux.
Diffstat (limited to 'package/qtopia4')
-rw-r--r-- | package/qtopia4/qtopia4.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk index a2ba324ae..3b9c08b99 100644 --- a/package/qtopia4/qtopia4.mk +++ b/package/qtopia4/qtopia4.mk @@ -16,6 +16,10 @@ # (cd /usr/include; sudo ln -s dbus-1.0/dbus dbus) # to fix +# BUG: There is a workaround below (search for x86x86fix) for +# x86 crosscompiling under linux x86. Please remove it when the workaround +# is no longer necessary. + QTOPIA4_VERSION:=4.5.0 QTOPIA4_CAT:=$(BZCAT) @@ -322,6 +326,19 @@ QTOPIA4_CONFIGURE:=$(strip $(subst ",, $(QTOPIA4_CONFIGURE))) BR2_PACKAGE_QTOPIA4_EMB_PLATFORM:=$(strip $(subst ",, $(BR2_PACKAGE_QTOPIA4_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_QTOPIA4_EMB_PLATFORM),x86) +QTOPIA4_CONFIGURE+= -platform linux-g++ +QTOPIA4_CONFIGURE:=$(strip $(subst ",, $(QTOPIA4_CONFIGURE))) +#")) +endif +endif +# End of workaround. + + QTOPIA4_QMAKE_CONF:=$(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf QTOPIA4_QMAKE_AR:=$(TARGET_AR) cqs |