summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-02-04 09:15:07 (GMT)
committeraxis <qt-info@nokia.com>2010-02-04 09:15:07 (GMT)
commit471cecfa2d1e84b5ddc04dafa9eeddc8e51dc3e7 (patch)
tree73ec3941c3e7573915139b7d347b0d1e0a3b8aec /mkspecs
parent3fefcaff4abbb32c978d97fbac66929eb5fef1f6 (diff)
parent08581d2aa53fff9ff8625a484b9633753ba9b1a0 (diff)
downloadQt-471cecfa2d1e84b5ddc04dafa9eeddc8e51dc3e7.zip
Qt-471cecfa2d1e84b5ddc04dafa9eeddc8e51dc3e7.tar.gz
Qt-471cecfa2d1e84b5ddc04dafa9eeddc8e51dc3e7.tar.bz2
Merge branch 'webkitCompile'
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/common/symbian/symbian-makefile.conf6
-rw-r--r--mkspecs/symbian/linux-armcc/features/symbian_building.prf4
2 files changed, 9 insertions, 1 deletions
diff --git a/mkspecs/common/symbian/symbian-makefile.conf b/mkspecs/common/symbian/symbian-makefile.conf
index bf4f43c..dc428b9 100644
--- a/mkspecs/common/symbian/symbian-makefile.conf
+++ b/mkspecs/common/symbian/symbian-makefile.conf
@@ -18,8 +18,12 @@ QMAKE_CXXFLAGS += $$QMAKE_CFLAGS --no_parse_templates
QMAKE_LFLAGS += --diag_suppress 6331,6780 --bpabi --reloc --datacompressor=off --split --rw-base 0x800000 --dll --no_scanlib
QMAKE_LFLAGS_APP += --entry _E32Startup
QMAKE_LFLAGS_SHLIB += --entry _E32Dll
+QMAKE_CFLAGS_DEBUG += -g
+QMAKE_CXXFLAGS_DEBUG += -g
+QMAKE_CFLAGS_RELEASE += -O2 -Otime
+QMAKE_CXXFLAGS_RELEASE += -O2 -Otime
-DEFINES += __SYMBIAN32__ EKA2 __S60_50__ __S60_3X__ __SERIES60_3X__ __EPOC32__ __MARM__ __EABI__ __ARMCC__ __ARMcc_2__ __ARMCC_2_2__ __MARM_ARMV5__ __MARM_THUMB__ __MARM_INTERWORK__ __DLL__ _UNICODE __SUPPORT_CPP_EXCEPTIONS__
+DEFINES += __SYMBIAN32__ EKA2 __S60_50__ __S60_3X__ __SERIES60_3X__ __EPOC32__ __MARM__ __EABI__ __ARMCC__ __ARMcc_2__ __ARMCC_2_2__ __MARM_ARMV5__ __MARM_INTERWORK__ __DLL__ _UNICODE __SUPPORT_CPP_EXCEPTIONS__
include(../../common/unix.conf)
diff --git a/mkspecs/symbian/linux-armcc/features/symbian_building.prf b/mkspecs/symbian/linux-armcc/features/symbian_building.prf
index a176547..da15872 100644
--- a/mkspecs/symbian/linux-armcc/features/symbian_building.prf
+++ b/mkspecs/symbian/linux-armcc/features/symbian_building.prf
@@ -10,6 +10,10 @@ isEmpty(symbianDestdir) {
symbianDestdir = .
}
+contains(QMAKE_CFLAGS, "--thumb")|contains(QMAKE_CXXFLAGS, "--thumb") {
+ DEFINES += __MARM_THUMB__
+}
+
for(libraries, LIBS) {
libraries = $$replace(libraries, "\.dll$", ".dso")
isFullName = $$find(libraries, \.)