diff options
author | Phil Blundell <pb@pbcl.net> | 2013-04-25 13:28:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-29 14:45:07 +0100 |
commit | c29685551976a0f9587a35b1436d52eead3ad560 (patch) | |
tree | 48a1b2e2c700dd2e4750e223ee2053cb6606b2c9 /meta/recipes-devtools/gdb/gdb-common.inc | |
parent | 735656bf6290d38be00cc0bd31e3c86f9a398e2f (diff) | |
download | poky-c29685551976a0f9587a35b1436d52eead3ad560.tar.gz |
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.
(From OE-Core rev: 3d70f28cc9612f733b835df139f31c197528677a)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-common.inc')
-rw-r--r-- | 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 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 \ | |||
42 | --with-curses --disable-multilib --with-system-readline --disable-sim \ | 42 | --with-curses --disable-multilib --with-system-readline --disable-sim \ |
43 | ${GDBPROPREFIX} ${EXPAT} \ | 43 | ${GDBPROPREFIX} ${EXPAT} \ |
44 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ | 44 | ${@base_contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ |
45 | --disable-rpath \ | ||
45 | " | 46 | " |
46 | 47 | ||
47 | GDBPROPREFIX = "--program-prefix=''" | 48 | GDBPROPREFIX = "--program-prefix=''" |