summaryrefslogtreecommitdiffstats
path: root/mkspecs/qnx-aarch64le-qcc/qmake.conf
diff options
context:
space:
mode:
authorJames McDonnell <jmcdonnell@qnx.com>2016-06-09 12:16:25 -0400
committerJames McDonnell <jmcdonnell@qnx.com>2016-06-22 14:59:26 +0000
commitf99bcd763d590be43dbc297699960f66edd6ad19 (patch)
tree9300de6163a6088eb3b5b62c39f718c0975ed1d9 /mkspecs/qnx-aarch64le-qcc/qmake.conf
parent450e7f06f22e6a30c85624b4d37f8433cbfd3b73 (diff)
Add some 64-bit QNX platforms
Add x86-64 and aarch64le QNX platforms. These platforms will be available in QNX 7.0. Change-Id: Iba1f635ba45fddf1a1caf907415a23a510ba0818 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs/qnx-aarch64le-qcc/qmake.conf')
-rw-r--r--mkspecs/qnx-aarch64le-qcc/qmake.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/mkspecs/qnx-aarch64le-qcc/qmake.conf b/mkspecs/qnx-aarch64le-qcc/qmake.conf
new file mode 100644
index 0000000000..8e229d360b
--- /dev/null
+++ b/mkspecs/qnx-aarch64le-qcc/qmake.conf
@@ -0,0 +1,17 @@
+#
+# qmake configuration for qnx aarch64le systems
+#
+
+DEFINES += QT_NO_CLIPBOARD _FORTIFY_SOURCE=2
+
+QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now
+
+include(../common/qcc-base-qnx-aarch64le.conf)
+
+contains(QT_CONFIG, stack-protector-strong) {
+ QMAKE_CFLAGS += -fstack-protector-strong
+ QMAKE_CXXFLAGS += -fstack-protector-strong
+} else {
+ QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
+ QMAKE_CXXFLAGS += -fstack-protector -fstack-protector-all
+}