summaryrefslogtreecommitdiffstats
path: root/mkspecs/symbian
diff options
context:
space:
mode:
authorThomas Zander <t.zander@nokia.com>2010-02-09 13:38:29 (GMT)
committerThomas Zander <t.zander@nokia.com>2010-02-09 13:38:29 (GMT)
commit3cc5feeadf81b8e6d7dc6efddd751e9471888078 (patch)
tree98880cfe9c930b74f7a248e59a8c2979abbd2848 /mkspecs/symbian
parent86fd3005d79de01dca5b857988bdf2a1411e74ee (diff)
downloadQt-3cc5feeadf81b8e6d7dc6efddd751e9471888078.zip
Qt-3cc5feeadf81b8e6d7dc6efddd751e9471888078.tar.gz
Qt-3cc5feeadf81b8e6d7dc6efddd751e9471888078.tar.bz2
Move duplicated code out to a qmake feature
Diffstat (limited to 'mkspecs/symbian')
-rw-r--r--mkspecs/symbian/features/do_not_build_as_thumb.prf8
1 files changed, 8 insertions, 0 deletions
diff --git a/mkspecs/symbian/features/do_not_build_as_thumb.prf b/mkspecs/symbian/features/do_not_build_as_thumb.prf
new file mode 100644
index 0000000..60d9382
--- /dev/null
+++ b/mkspecs/symbian/features/do_not_build_as_thumb.prf
@@ -0,0 +1,8 @@
+symbian-abld|symbian-sbsv2 {
+ MMP_RULES += ALWAYS_BUILD_AS_ARM
+} else:linux-armcc {
+ QMAKE_CFLAGS -= --thumb
+ QMAKE_CFLAGS += --arm
+ QMAKE_CXXFLAGS -= --thumb
+ QMAKE_CXXFLAGS += --arm
+}