summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorPeter Hartmann <phartmann@rim.com>2012-11-22 16:29:04 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-25 23:48:03 (GMT)
commitd6bc8bc6de1cd21f86076063cdd905b57dd1007c (patch)
treedc975c477dc9386f9652317c55ed4af148049b96 /mkspecs
parenta6305580b27f0bf1d268b5a3531c8332a57c3864 (diff)
downloadQt-d6bc8bc6de1cd21f86076063cdd905b57dd1007c.zip
Qt-d6bc8bc6de1cd21f86076063cdd905b57dd1007c.tar.gz
Qt-d6bc8bc6de1cd21f86076063cdd905b57dd1007c.tar.bz2
BlackBerry mkspecs: tell compiler the specific ARM version (cortex-a9)
... so the compiler knows which instructions to generate and can optimize for the specific CPU. All BlackBerry platforms are Cortex-A9 compatible. (cherry picked from commit 44b1c5dde2dfbb69a29cbd4ad8d1f0ac0203b482) Change-Id: I730dea78421d4688e0afa60f8f095f3166e5b733 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/blackberry-armv7le-qcc/qmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/blackberry-armv7le-qcc/qmake.conf b/mkspecs/blackberry-armv7le-qcc/qmake.conf
index 5edcf0e..a48d8fe 100644
--- a/mkspecs/blackberry-armv7le-qcc/qmake.conf
+++ b/mkspecs/blackberry-armv7le-qcc/qmake.conf
@@ -16,3 +16,5 @@ contains(QT_CONFIG, stack-protector-strong) {
} else {
QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
}
+
+QMAKE_CFLAGS += -mcpu=cortex-a9