summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2013-04-25 13:28:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-29 14:43:51 +0100
commit3d70f28cc9612f733b835df139f31c197528677a (patch)
tree348c33603ec797c21c0603ccf959897759587962 /meta/recipes-devtools/gdb
parent582798f70bf350d2db6911eb8df333ada05f6484 (diff)
downloadopenembedded-core-3d70f28cc9612f733b835df139f31c197528677a.tar.gz
openembedded-core-3d70f28cc9612f733b835df139f31c197528677a.tar.bz2
openembedded-core-3d70f28cc9612f733b835df139f31c197528677a.zip
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@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-common.inc1
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 9eb6b6065e..f574d5c163 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=''"