summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/unix
diff options
context:
space:
mode:
authorEckhart Koppen <eckhart.koppen@nokia.com>2011-03-08 07:12:58 (GMT)
committerEckhart Koppen <eckhart.koppen@nokia.com>2011-03-08 07:12:58 (GMT)
commitcddc9fd3913fa511fbe5feac4c6ff61464bc78fa (patch)
tree9ae83863ed3b805d3bb0639d1268906564f9801a /mkspecs/features/unix
parentf96b9e139dd67d2be992e86af9fb41e4cdfcb6cf (diff)
parent0766bf2fa4a89e629bbdad185e4919fd49c033a1 (diff)
downloadQt-cddc9fd3913fa511fbe5feac4c6ff61464bc78fa.zip
Qt-cddc9fd3913fa511fbe5feac4c6ff61464bc78fa.tar.gz
Qt-cddc9fd3913fa511fbe5feac4c6ff61464bc78fa.tar.bz2
Merge remote branch 'qt-master/master'
Diffstat (limited to 'mkspecs/features/unix')
-rw-r--r--mkspecs/features/unix/gdb_dwarf_index.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/unix/gdb_dwarf_index.prf b/mkspecs/features/unix/gdb_dwarf_index.prf
index c647bae..14c4c38 100644
--- a/mkspecs/features/unix/gdb_dwarf_index.prf
+++ b/mkspecs/features/unix/gdb_dwarf_index.prf
@@ -1,7 +1,7 @@
!CONFIG(separate_debug_info):CONFIG(debug, debug|release):!staticlib:!static:!contains(TEMPLATE, subdirs):!isEmpty(QMAKE_OBJCOPY) {
QMAKE_GDB_INDEX = { test -z \"$(DESTDIR)\" || cd \"$(DESTDIR)\"; } && \
- test \$\$(gdb --version | sed -e \'s,[^(]*(GDB).\\([0-9]\\)\\.\\([0-9]\\).*,\\1\\2,;q\') -gt 72 && \
+ test \$\$(gdb --version | sed -e \'s,[^(]*(GDB)[^)]\\([0-9]\\)\\.\\([0-9]\\).*,\\1\\2,;q\') -gt 72 && \
gdb --nx --batch --quiet -ex \'set confirm off\' -ex \'save gdb-index .\' -ex quit \'$(TARGET)\' && \
test -f $(TARGET).gdb-index && \
$$QMAKE_OBJCOPY --add-section \'.gdb_index=$(TARGET).gdb-index\' --set-section-flags \'.gdb_index=readonly\' \'$(TARGET)\' \'$(TARGET)\' && \