summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-08 09:31:04 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-08 09:34:37 (GMT)
commit242220cccfeb9212f8425d04c2dda36e9d2c63c9 (patch)
treec0de1d12221611409811f89ad2a4bce4f3b7ff21 /mkspecs
parente83d3937a236dc4a339c50a8f287e1a341f3b47f (diff)
downloadQt-242220cccfeb9212f8425d04c2dda36e9d2c63c9.zip
Qt-242220cccfeb9212f8425d04c2dda36e9d2c63c9.tar.gz
Qt-242220cccfeb9212f8425d04c2dda36e9d2c63c9.tar.bz2
Enabling runfast mode when vfpv2 used.
The fpu flag is monitored and when either 'softvfp+vfpv2' or 'vfpv2' detected we are turning on RunFast mode (via --fpumode fast switch). Reviewed-by: Iain
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common/symbian/symbian.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf
index 7162bad..6113746 100644
--- a/mkspecs/common/symbian/symbian.conf
+++ b/mkspecs/common/symbian/symbian.conf
@@ -148,3 +148,19 @@ exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/Series60v5.0.sis
MMP_RULES -= PAGED
}
}
+
+QMAKE_CXXFLAGS_FAST_VFP.ARMCC = --fpmode fast
+# [TODO] QMAKE_CXXFLAGS_FAST_VFP.GCCE =
+
+symbian {
+ armfpu = $$find(MMP_RULES, "ARMFPU")
+ !isEmpty(armfpu) {
+ vfpv2 = $$find(MMP_RULES, "vfpv2")
+ !isEmpty(vfpv2) {
+ # we will respect fpu setting obtained from configure, but,
+ # if vfpv2 or softvfp+vfpv2 used we want to force RunFast VFP mode
+ QMAKE_CXXFLAGS.ARMCC += $${QMAKE_CXXFLAGS_FAST_VFP.ARMCC}
+ # [TODO] QMAKE_CXXFLAGS.GCCE += $${QMAKE_CXXFLAGS_FAST_VFP.GCCE}
+ }
+ }
+} \ No newline at end of file