diff options
author | axis <qt-info@nokia.com> | 2010-06-24 08:18:18 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2010-06-24 08:48:58 (GMT) |
commit | b60be84ad8121f9562f1ab4193136426df6dc6d4 (patch) | |
tree | 53d4e89ede61d1b12779026af2839dc23813daa6 /mkspecs/features/symbian/symbian_building.prf | |
parent | e5722f539888913b9bea4f91db95f5e2c5fceed1 (diff) | |
download | Qt-b60be84ad8121f9562f1ab4193136426df6dc6d4.zip Qt-b60be84ad8121f9562f1ab4193136426df6dc6d4.tar.gz Qt-b60be84ad8121f9562f1ab4193136426df6dc6d4.tar.bz2 |
Fixed memory restrictions not being passed on to elf2e32.
Task: QTBUG-11351
RevBy: Trust me
Diffstat (limited to 'mkspecs/features/symbian/symbian_building.prf')
-rw-r--r-- | mkspecs/features/symbian/symbian_building.prf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index 9fc4d1e..5861bb6 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -8,6 +8,9 @@ QMAKE_LFLAGS += -Ttext 0x80000 -Tdata 0x400000 } +isEmpty(TARGET.EPOCSTACKSIZE):TARGET.EPOCSTACKSIZE = 0x14000 +isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x020000 0x800000 + symbianObjdir=$$OBJECTS_DIR isEmpty(symbianObjdir) { symbianObjdir = . @@ -114,6 +117,8 @@ contains(TEMPLATE, lib):!contains(CONFIG, static):!contains(CONFIG, staticlib) { --dso=$$symbianObjdir/$${TARGET}.dso \ --defoutput=$$symbianObjdir/$${TARGET}.def \ --linkas=$${TARGET}\\{$${hexVersion}\\}\\[$${intUid3}\\].dll \ + --heap=$$join(TARGET.EPOCHEAPSIZE, ",") \ + --stack=$$TARGET.EPOCSTACKSIZE \ $$elf2e32_LIBPATH \ $$capability \ $$QMAKE_ELF2E32_FLAGS \ @@ -163,6 +168,8 @@ contains(TEMPLATE, app):!contains(QMAKE_LINK, "^@.*") { --elfinput=$${symbianDestdir}/$${TARGET}.sym \ --output=$${symbianDestdir}/$${TARGET}.exe \ --linkas=$${TARGET}\\{$${hexVersion}\\}\\[$${intUid3}\\].exe \ + --heap=$$join(TARGET.EPOCHEAPSIZE, ",") \ + --stack=$$TARGET.EPOCSTACKSIZE \ $$elf2e32_LIBPATH \ $$capability \ $$QMAKE_ELF2E32_FLAGS \ |