]> code.ossystems Code Review - openembedded-core.git/commit
gdb-common: Add --with-liblzma-prefix in xz PACKAGECONFIG.
authorJim Wilson <jim.wilson.gcc@gmail.com>
Tue, 16 Nov 2021 01:44:13 +0000 (17:44 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Nov 2021 11:04:00 +0000 (11:04 +0000)
commit56623848f45cf475f909beb75209323a89837169
tree6e8baaac56130371a0b4aa299fdf460d41539963
parenta8af54d73dabca557fcc7b12eca29b28517933b6
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

Signed-off-by: Jim Wilson <jim.wilson.gcc@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gdb/gdb-common.inc