summaryrefslogtreecommitdiff
path: root/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-05-12 20:11:37 +0200
committerSaul Wold <sgw@linux.intel.com>2011-05-12 22:04:18 -0700
commitaf22757737f3b5e2d58eba8c5e01176ac26592c5 (patch)
tree2194e478c41aea94c9ff244a6ce05de7c681cb1b /meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
parenta121494f9bdebb940e3f2f121040988be6dca592 (diff)
downloadopenembedded-core-af22757737f3b5e2d58eba8c5e01176ac26592c5.tar.gz
openembedded-core-af22757737f3b5e2d58eba8c5e01176ac26592c5.tar.bz2
openembedded-core-af22757737f3b5e2d58eba8c5e01176ac26592c5.zip
qt4-tools-nativesdk: -arch is required for nativesdk build
We need to pass correct -arch option to configure to fix building in case of SDK_ARCH != BUILD_ARCH. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Diffstat (limited to 'meta/recipes-qt/qt4/qt4-tools-nativesdk.inc')
-rw-r--r--meta/recipes-qt/qt4/qt4-tools-nativesdk.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
index f273c9fab8..5faf40c33a 100644
--- a/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
+++ b/meta/recipes-qt/qt4/qt4-tools-nativesdk.inc
@@ -25,6 +25,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=fbc093901857fcd118f065f900982c24 \
file://LICENSE.GPL3;md5=babc5b6b77441da277f5c06b2e547720 \
file://LGPL_EXCEPTION.txt;md5=411080a56ff917a5a1aa08c98acae354"
+require qt4_arch.inc
+
# FIXME: make it work with "${STAGING_BINDIR_NATIVE}/pkg-config --cflags dbus-1"
EXTRA_OECONF = "-prefix ${prefix} \
-qt-libjpeg -qt-gif -system-zlib \
@@ -37,6 +39,7 @@ EXTRA_OECONF = "-prefix ${prefix} \
-verbose -release -fast -static \
-platform ${TARGET_OS}-oe-g++ \
-xplatform ${TARGET_OS}-oe-g++ \
+ -arch ${@qt_arch(d)} \
-embedded -no-freetype -no-glib -no-iconv \
-qt3support \
-I${STAGING_DIR_HOST}${SDKPATHNATIVE}/usr/include \