summaryrefslogtreecommitdiffstats
path: root/mkspecs/symbian-gcce
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2011-04-07 11:53:44 (GMT)
committerLiang Qi <liang.qi@nokia.com>2011-04-07 11:53:44 (GMT)
commit2eae397d7c4e549f7c77f0bc7e22f0d9390c7ec3 (patch)
treef41094475f8c9b8ace89bacdc6080a47c542f6e1 /mkspecs/symbian-gcce
parent99eb6c6c2048ce4d96348c54a79986c779fdf656 (diff)
downloadQt-2eae397d7c4e549f7c77f0bc7e22f0d9390c7ec3.zip
Qt-2eae397d7c4e549f7c77f0bc7e22f0d9390c7ec3.tar.gz
Qt-2eae397d7c4e549f7c77f0bc7e22f0d9390c7ec3.tar.bz2
Correct some parameters for the makefile build sytem, armcc and gcce
Reviewed-by: axis
Diffstat (limited to 'mkspecs/symbian-gcce')
-rw-r--r--mkspecs/symbian-gcce/qmake.conf7
1 files changed, 3 insertions, 4 deletions
diff --git a/mkspecs/symbian-gcce/qmake.conf b/mkspecs/symbian-gcce/qmake.conf
index 62a079b..38042e9 100644
--- a/mkspecs/symbian-gcce/qmake.conf
+++ b/mkspecs/symbian-gcce/qmake.conf
@@ -19,7 +19,7 @@ QMAKE_AR = arm-none-symbianelf-ar cqs
QMAKE_qtmain_CXXFLAGS = -mthumb
QMAKE_QtCore_CXXFLAGS = -mthumb
-QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
+#QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
QMAKE_QtDBus_CXXFLAGS = -mthumb
QMAKE_QtDeclarative_CXXFLAGS = -mthumb
QMAKE_QtMultimedia_CXXFLAGS = -mthumb
@@ -34,8 +34,7 @@ QMAKE_QtSvg_CXXFLAGS = -mthumb
QMAKE_QtTest_CXXFLAGS = -mthumb
QMAKE_QtXmlPatterns_CXXFLAGS = -mthumb
QMAKE_QtXml_CXXFLAGS = -mthumb
-#TODO fails with; arm-none-symbianelf-ld: section .data loaded at [00e00000,00e05973] overlaps section .text loaded at [00008000,00fe748b]
-QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
+#QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000
# never use -fPIC, gcce-linker doesn't like it.
# g++ conf above adds it if the host platform is 64 bit, so we remove it again
@@ -58,7 +57,7 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
gcceExtraFlags = --include=$${EPOCROOT}epoc32/include/gcce/gcce.h -march=armv5t -mapcs -mthumb-interwork -nostdinc -c -msoft-float -T script
QMAKE_CFLAGS += $${gcceExtraFlags}
-QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden
+QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden -Os
#If we are not going to link to Qt or qtmain.lib, we need to include this at least once.
isEmpty(QT):contains(TEMPLATE, app) {
QMAKE_CXXFLAGS += --include=$${EPOCROOT}epoc32/include/stdapis/staticlibinit_gcce.h