diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-04-07 12:19:38 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-04-07 12:19:38 (GMT) |
commit | 0d8f6a417d1ffb649787f5b67107fe99a876da1f (patch) | |
tree | 263db1185fe85d3fb0361504406bb333e55e90a7 /mkspecs/symbian/linux-gcce | |
parent | 9e02410cc776ab7cc5bcc13bc3842aed79207741 (diff) | |
download | Qt-0d8f6a417d1ffb649787f5b67107fe99a876da1f.zip Qt-0d8f6a417d1ffb649787f5b67107fe99a876da1f.tar.gz Qt-0d8f6a417d1ffb649787f5b67107fe99a876da1f.tar.bz2 |
Various fixes for symbian/gcce building.
Diffstat (limited to 'mkspecs/symbian/linux-gcce')
-rw-r--r-- | mkspecs/symbian/linux-gcce/qmake.conf | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/mkspecs/symbian/linux-gcce/qmake.conf b/mkspecs/symbian/linux-gcce/qmake.conf index de3791c..c75e46e 100644 --- a/mkspecs/symbian/linux-gcce/qmake.conf +++ b/mkspecs/symbian/linux-gcce/qmake.conf @@ -53,17 +53,20 @@ DEFINES += __GCCE__ \ UNICODE \ _STLP_NO_EXCEPTION_HEADER -QMAKE_LFLAGS_APP += --entry _E32Startup +QMAKE_LFLAGS_APP += --entry=_E32Startup -u _E32Startup QMAKE_LFLAGS_SHLIB += --default-symver --entry _E32Dll QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB -gcceExtraFlags = --include=${EPOCROOT}epoc32/include/gcce/gcce.h -march=armv5t -mapcs -mthumb-interwork -nostdinc -c -fvisibility-inlines-hidden -msoft-float -T script +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 +QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden +#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 +} QMAKE_LFLAGS += --target1-abs \ --no-undefined \ - --strip-debug \ --nostdlib QMAKE_LIBDIR += ${EPOCROOT}/epoc32/release/armv5/udeb/ |