[oe-commits] Jonathan Liu : qt4: disable gdb_dwarf_index

git at git.openembedded.org git at git.openembedded.org
Tue Jul 9 09:45:56 UTC 2013


Module: openembedded-core.git
Branch: dylan
Commit: f698ec36bd78e3f40d7f0ba3b8793027d56eea57
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f698ec36bd78e3f40d7f0ba3b8793027d56eea57

Author: Jonathan Liu <net147 at gmail.com>
Date:   Fri Jun 14 23:15:17 2013 +1000

qt4: disable gdb_dwarf_index

* 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

(From OE-Core master rev: 6456b596a73232429e0d223089f32dc350ea20b0)

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-qt/qt4/qt4-4.8.4/g++.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

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
 



More information about the Openembedded-commits mailing list