mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 09:32:13 +00:00
libbacktrace: Update version and enable shared library.
* Update to the last version as of today. * Fix typo: EXTRA_OECONF * Enable building a shared library (.so) * Disable building a static library (.a) * Manually passing `-fPIC` is not longer needed because that flag is already enabled by autotools when building the shared library. * Enable the RISCV64 build-recause libunwind supports this archicture since OE-Core-rev: 2b2f6ff01efd Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 8188ee344e425035387d4485b6a6457dd4da9424) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
766dcdff95
commit
ba725421d5
@ -11,20 +11,17 @@ DEPENDS += "libunwind"
|
|||||||
SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=master"
|
SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=master"
|
||||||
|
|
||||||
PV = "1.0+git${SRCPV}"
|
PV = "1.0+git${SRCPV}"
|
||||||
SRCREV = "4f57c999716847e45505b3df170150876b545088"
|
SRCREV = "9ae4f4ae4481b1e69d38ed810980d33103544613"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
EXTR_OECONF += "--with-system-libunwind"
|
EXTRA_OECONF += "--with-system-libunwind --enable-shared --disable-static"
|
||||||
|
|
||||||
CFLAGS += "-fPIC"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
oe_runconf
|
oe_runconf
|
||||||
}
|
}
|
||||||
|
|
||||||
# libunwind does not support RISCV yet
|
# libunwind does not support RISCV32 yet
|
||||||
COMPATIBLE_HOST:riscv64 = "null"
|
|
||||||
COMPATIBLE_HOST:riscv32 = "null"
|
COMPATIBLE_HOST:riscv32 = "null"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user