summaryrefslogtreecommitdiffstats
path: root/mkspecs/devices/linux-rasp-pi-g++/qmake.conf
diff options
context:
space:
mode:
authorDonald Carr <donald.carr@nokia.com>2012-05-30 21:24:30 +0000
committerQt by Nokia <qt-info@nokia.com>2012-05-30 23:55:35 +0200
commitdce42ebd236596ab2d600db4c83697f773dd5422 (patch)
tree5efa0571ed11356b3f7125f0352ce8d836d08789 /mkspecs/devices/linux-rasp-pi-g++/qmake.conf
parent6deebc817080f9eb86d5d6fbe50444678eed4dfe (diff)
Add hard float-abi support to Raspberry Pi spec
Change-Id: I1bed28bdb5f84e61605972713a20359cc6deeaa6 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> Reviewed-by: Andy Nichols <andy.nichols@nokia.com>
Diffstat (limited to 'mkspecs/devices/linux-rasp-pi-g++/qmake.conf')
-rw-r--r--mkspecs/devices/linux-rasp-pi-g++/qmake.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/mkspecs/devices/linux-rasp-pi-g++/qmake.conf b/mkspecs/devices/linux-rasp-pi-g++/qmake.conf
index a69b446c97..b56bd3a617 100644
--- a/mkspecs/devices/linux-rasp-pi-g++/qmake.conf
+++ b/mkspecs/devices/linux-rasp-pi-g++/qmake.conf
@@ -38,6 +38,8 @@ QMAKE_LIBS_EGL = -lEGL -lGLESv2
contains(DISTRO, wheezy) {
QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib/arm-linux-gnueabi \
-Wl,-rpath-link,$$[QT_SYSROOT]/lib/arm-linux-gnueabi
+} else:contains(DISTRO, bsquask) {
+ FLOAT-ABI = hard
} else:contains(DISTRO, arch) {
#On principle: no wizardry required
} else {
@@ -47,12 +49,17 @@ contains(DISTRO, wheezy) {
QMAKE_CFLAGS += \
-marm \
- -mfloat-abi=softfp \
-mfpu=vfp \
-mtune=arm1176jzf-s \
-march=armv6zk \
-mabi=aapcs-linux
+contains(FLOAT-ABI, hard) {
+ QMAKE_CFLAGS += -mfloat-abi=hard
+} else {
+ QMAKE_CFLAGS += -mfloat-abi=softfp
+}
+
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
EGLFS_PLATFORM_HOOKS_SOURCES = $$PWD/qeglfshooks_pi.cpp