summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/unix
diff options
context:
space:
mode:
authorArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-09-06 14:33:51 (GMT)
committerArvid Ephraim Picciani <arvid.picciani@nokia.com>2010-09-06 16:01:59 (GMT)
commit8e163729a426c7ddc99edaf2272332f1dbd86a46 (patch)
tree6bc578f15e37ae01fd24a3a67ff049be441ac205 /mkspecs/features/unix
parentf2b9a249664349dcf7bda907707023fa5b9a29ba (diff)
downloadQt-8e163729a426c7ddc99edaf2272332f1dbd86a46.zip
Qt-8e163729a426c7ddc99edaf2272332f1dbd86a46.tar.gz
Qt-8e163729a426c7ddc99edaf2272332f1dbd86a46.tar.bz2
Remove temporary gdb-index after merging it
Reviewed-by: ossi
Diffstat (limited to 'mkspecs/features/unix')
-rw-r--r--mkspecs/features/unix/gdb_dwarf_index.prf3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkspecs/features/unix/gdb_dwarf_index.prf b/mkspecs/features/unix/gdb_dwarf_index.prf
index 7824d93..80d5505 100644
--- a/mkspecs/features/unix/gdb_dwarf_index.prf
+++ b/mkspecs/features/unix/gdb_dwarf_index.prf
@@ -3,7 +3,8 @@
QMAKE_GDB_INDEX = test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\" ; \
gdb -silent -ex \'set confirm off\' -ex \'save gdb-index .\' -ex quit \'$(TARGET)\' >/dev/null 2>&1 && \
test -f $(TARGET).gdb-index && \
- $$QMAKE_OBJCOPY --add-section \'.gdb_index=$(TARGET).gdb-index\' --set-section-flags \'.gdb_index=readonly\' \'$(TARGET)\' \'$(TARGET)\' || true
+ $$QMAKE_OBJCOPY --add-section \'.gdb_index=$(TARGET).gdb-index\' --set-section-flags \'.gdb_index=readonly\' \'$(TARGET)\' \'$(TARGET)\' && \
+ $$QMAKE_DEL_FILE $(TARGET).gdb-index || true
!isEmpty(QMAKE_POST_LINK):QMAKE_POST_LINK = $$escape_expand(\\n\\t)$$QMAKE_POST_LINK
QMAKE_POST_LINK = $$QMAKE_GDB_INDEX $$QMAKE_POST_LINK