[oe-commits] Phil Blundell : gdb: Disable hard-coding of library rpaths

git at git.openembedded.org git at git.openembedded.org
Mon Apr 29 13:40:32 UTC 2013


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

Author: Phil Blundell <pb at pbcl.net>
Date:   Thu Apr 25 13:28:40 2013 +0100

gdb: Disable hard-coding of library rpaths

GDB's configury has a tendency to hard-code the path where it found
libexpat using "-Wl,--rpath".  This is undesirable and leads to QA warnings.

Fortunately, the helpful GDB maintainers have provided a "--disable-rpath"
switch to turn this behaviour off.  Let's use it and profit.

Signed-off-by: Phil Blundell <philb at gnu.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/gdb/gdb-common.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 9eb6b60..f574d5c 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -42,6 +42,7 @@ EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \
                 --with-curses --disable-multilib --with-system-readline --disable-sim \
                 ${GDBPROPREFIX} ${EXPAT} \
                 ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \
+                --disable-rpath \
                "
 
 GDBPROPREFIX = "--program-prefix=''"





More information about the Openembedded-commits mailing list