diff options
author | Thomas Zander <t.zander@nokia.com> | 2010-02-15 14:59:19 (GMT) |
---|---|---|
committer | Thomas Zander <t.zander@nokia.com> | 2010-02-15 14:59:19 (GMT) |
commit | 0d814d95f4f7eae88116617ac82a5fb79b3a597a (patch) | |
tree | e0800cb2a1f86e8fc741849a32d4f7e8cc0d4f70 | |
parent | 3ee946d807e74787bc84752cabd2dda295f10c66 (diff) | |
download | Qt-0d814d95f4f7eae88116617ac82a5fb79b3a597a.zip Qt-0d814d95f4f7eae88116617ac82a5fb79b3a597a.tar.gz Qt-0d814d95f4f7eae88116617ac82a5fb79b3a597a.tar.bz2 |
Make sure that repeatedly calling 'make' doesn't repeatedly link
On symbian a target is forcebly called ${TARGET}.exe, so when make
checks for the existence on the filesystem for ${TARGET} it can't find
it and links again.
Avoid this by hardlinking ${TARGET} to ${TARGET}.exe
-rw-r--r-- | mkspecs/symbian/linux-armcc/features/symbian_building.prf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/symbian/linux-armcc/features/symbian_building.prf b/mkspecs/symbian/linux-armcc/features/symbian_building.prf index 6cc1e25..4f699a7 100644 --- a/mkspecs/symbian/linux-armcc/features/symbian_building.prf +++ b/mkspecs/symbian/linux-armcc/features/symbian_building.prf @@ -106,8 +106,10 @@ contains(TEMPLATE, app):!contains(QMAKE_LINK, "^@.*") { capability = "--capability=$$capability" # the tee and grep at the end work around the issue that elf2e32 doesn't return non-null on error QMAKE_POST_LINK += && elf2e32 --version $$decVersion --sid=$$TARGET.SID --uid1=0x1000007a --uid2=$$TARGET.UID2 --uid3=$$TARGET.UID3 --dlldata --heap=0x00020000,0x00800000 --stack=0x00014000 --fpu=softvfp --targettype=EXE --elfinput=$${symbianDestdir}/$${TARGET}.sym --output=$${symbianDestdir}/$${TARGET}.exe --unfrozen --linkas=$${TARGET}\\{$${hexVersion}\\}\\[$${intUid3}\\].exe --compressionmethod bytepair $$elf2e32_LIBPATH --unpaged $$capability | tee elf2e32.log && test `grep -c 'Error:' elf2e32.log` = 0 && rm elf2e32.log + QMAKE_POST_LINK += && ln "$${TARGET}.exe" "$$TARGET" QMAKE_DISTCLEAN += $${symbianDestdir}/$${TARGET}.sym QMAKE_DISTCLEAN += $${symbianDestdir}/$${TARGET}.exe + QMAKE_CLEAN += $${symbianDestdir}/$${TARGET} QMAKE_LIBS += -leexe.lib\\(uc_exe_.o\\) |