summaryrefslogtreecommitdiffstats
path: root/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer.qnx@kdab.com>2012-04-05 16:46:18 +0100
committerQt by Nokia <qt-info@nokia.com>2012-04-06 00:02:45 +0200
commit1c20c3f29441a6856c6eb58dda40b86bdaac6a06 (patch)
treef1dbd4c792c5f4a84372ebc215bcaa20414b37e7 /mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
parentbdfff4d82537ae4c69585b0102457cfc522ef070 (diff)
Moving stack-smashing protection to the Blackberry mkspecs
It transpires that QNX 6.5.0 does not yet have libc support for the gcc stack smashing protection. Change-Id: Ic635662b6aa3ce2fad5f69e236386ae9ace420db Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf')
-rw-r--r--mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf b/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
index df9961b107..4e72667c5d 100644
--- a/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
+++ b/mkspecs/unsupported/blackberry-armv7le-qcc/qmake.conf
@@ -6,4 +6,7 @@ DEFINES += Q_OS_BLACKBERRY
CONFIG += blackberry
LIBS += -lbps
+# Blackberry also has support for stack smashing protection in its libc
+QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
+
include(../qnx-armv7le-qcc/qmake.conf)