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>
This commit is contained in:
Donald Carr 2012-05-30 21:24:30 +00:00 committed by Qt by Nokia
parent 6deebc8170
commit dce42ebd23

View File

@ -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