summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/qnx-arm-g++/qmake.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/qws/qnx-arm-g++/qmake.conf')
-rw-r--r--mkspecs/qws/qnx-arm-g++/qmake.conf32
1 files changed, 32 insertions, 0 deletions
diff --git a/mkspecs/qws/qnx-arm-g++/qmake.conf b/mkspecs/qws/qnx-arm-g++/qmake.conf
new file mode 100644
index 0000000..881ca0f
--- /dev/null
+++ b/mkspecs/qws/qnx-arm-g++/qmake.conf
@@ -0,0 +1,32 @@
+#
+# qmake configuration for qnx-arm-g++
+#
+# Written for QNX RTOS v6
+#
+
+include(../../common/qnx/qmake.conf)
+
+# modifications to gcc-base.conf and g++-base.conf
+
+#Bug in arm compiler for QNX
+QMAKE_CFLAGS_RELEASE = -O1
+QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO = -O1 -g
+
+QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
+QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
+
+QMAKE_CC = ntoarm-gcc
+QMAKE_CXX = ntoarm-g++
+
+QMAKE_LINK = ntoarm-g++
+QMAKE_LINK_SHLIB = $$QMAKE_LINK
+QMAKE_LINK_C = ntoarm-gcc
+QMAKE_LINK_C_SHLIB = $$QMAKE_LINK_C
+
+# modifications to linux.conf
+QMAKE_AR = ntoarm-ar cqs
+QMAKE_STRIP = ntoarm-strip
+QMAKE_RANLIB = ntoarm-ranlib
+QMAKE_OBJCOPY = ntoarm-objcopy
+
+load(qt_config)