mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.
This fixes an arch linux gdb configure error with liblzma installed. Without the --with-liblzma-prefix option, when configuring the target gdb, gdb configure may find the native liblzma (on a non-multiarch system) and try to use it, which gives a configure error. We already use --with-libexpat-prefix for expat, we just need to do the same for liblzma. This was reported here: https://github.com/sifive/meta-sifive/issues/34 https://github.com/sifive/freedom-u-sdk/issues/148 (From OE-Core rev: 56623848f45cf475f909beb75209323a89837169) Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ea178f4a55
commit
e9d2a95237
@@ -37,7 +37,7 @@ PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python
|
||||
PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace"
|
||||
# ncurses is already a hard DEPENDS, but would be added here if it weren't
|
||||
PACKAGECONFIG[tui] = "--enable-tui,--disable-tui"
|
||||
PACKAGECONFIG[xz] = "--with-lzma,--without-lzma,xz"
|
||||
PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz"
|
||||
PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils"
|
||||
|
||||
GDBPROPREFIX = "--program-prefix=''"
|
||||
|
||||
Reference in New Issue
Block a user