Patchwork qt4: disable gdb_dwarf_index

login
register
mail settings
Submitter Jonathan Liu
Date June 14, 2013, 1:15 p.m.
Message ID <1371215717-22843-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/51727/
State Accepted
Commit 6456b596a73232429e0d223089f32dc350ea20b0
Headers show

Comments

Jonathan Liu - June 14, 2013, 1:15 p.m.
* qmake is trying to call native gdb and we don't depend on gdb-native
  (or even provide gdb-native)
* fixes errors like this:
  /bin/sh: gdb: command not found
  /bin/sh: line 0: test: -gt: unary operator expected

Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta/recipes-qt/qt4/qt4-4.8.4/g++.conf | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
index e58fb15..d34c62c 100644
--- a/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
+++ b/meta/recipes-qt/qt4/qt4-4.8.4/g++.conf
@@ -49,6 +49,9 @@  QMAKE_PCH_OUTPUT_EXT    = .gch
 QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions
 QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
 
+# do not depend on gdb
+CONFIG -= gdb_dwarf_index
+
 # some linking helper...
 CONFIG += rpath_libdirs