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>
This commit is contained in:
Phil Blundell 2013-04-25 13:28:40 +01:00 committed by Richard Purdie
parent 735656bf62
commit c296855519
1 changed files with 1 additions and 0 deletions

View File

@ -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=''"