BlackBerry mkspecs: tell compiler the specific ARM version (cortex-a9)
authorPeter Hartmann <phartmann@rim.com>
Thu, 22 Nov 2012 16:29:04 +0000 (17:29 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 23 Nov 2012 10:59:50 +0000 (11:59 +0100)
... so the compiler knows which instructions to generate and can
optimize for the specific CPU.
All BlackBerry platforms are Cortex-A9 compatible.

Change-Id: I3fd22e63af12f704365f494bbb7138963b4c4ec7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
mkspecs/blackberry-armv7le-qcc/qmake.conf

index 2886527..b88b4db 100644 (file)
@@ -15,4 +15,6 @@ contains(QT_CONFIG, stack-protector-strong) {
     QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
 }
 
+QMAKE_CFLAGS += -mcpu=cortex-a9
+
 include(../common/qcc-base-qnx-armv7le.conf)