diff options
author | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-09-06 14:33:51 (GMT) |
---|---|---|
committer | Arvid Ephraim Picciani <arvid.picciani@nokia.com> | 2010-09-06 16:01:59 (GMT) |
commit | 8e163729a426c7ddc99edaf2272332f1dbd86a46 (patch) | |
tree | 6bc578f15e37ae01fd24a3a67ff049be441ac205 /mkspecs/features/unix | |
parent | f2b9a249664349dcf7bda907707023fa5b9a29ba (diff) | |
download | Qt-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.prf | 3 |
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 |