diff options
| author | Carlos Alberto Lopez Perez <clopez@igalia.com> | 2023-10-17 23:24:54 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-10-30 07:14:02 -0400 |
| commit | ba725421d5e642751f6a01a80a9d26bde5c698aa (patch) | |
| tree | fada43c0b0e6b370fdfe86832e30c67ac43eecd9 | |
| parent | 766dcdff958403b2bcd1bb71ae43d319f74c55c9 (diff) | |
| download | meta-openembedded-ba725421d5e642751f6a01a80a9d26bde5c698aa.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb index 609e55f4ac..46fa81866b 100644 --- a/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb +++ b/meta-oe/recipes-extended/libbacktrace/libbacktrace_git.bb | |||
| @@ -11,20 +11,17 @@ DEPENDS += "libunwind" | |||
| 11 | SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=master" | 11 | SRC_URI = "git://github.com/ianlancetaylor/libbacktrace;protocol=https;branch=master" |
| 12 | 12 | ||
| 13 | PV = "1.0+git${SRCPV}" | 13 | PV = "1.0+git${SRCPV}" |
| 14 | SRCREV = "4f57c999716847e45505b3df170150876b545088" | 14 | SRCREV = "9ae4f4ae4481b1e69d38ed810980d33103544613" |
| 15 | 15 | ||
| 16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
| 17 | 17 | ||
| 18 | inherit autotools | 18 | inherit autotools |
| 19 | 19 | ||
| 20 | EXTR_OECONF += "--with-system-libunwind" | 20 | EXTRA_OECONF += "--with-system-libunwind --enable-shared --disable-static" |
| 21 | |||
| 22 | CFLAGS += "-fPIC" | ||
| 23 | 21 | ||
| 24 | do_configure() { | 22 | do_configure() { |
| 25 | oe_runconf | 23 | oe_runconf |
| 26 | } | 24 | } |
| 27 | 25 | ||
| 28 | # libunwind does not support RISCV yet | 26 | # libunwind does not support RISCV32 yet |
| 29 | COMPATIBLE_HOST:riscv64 = "null" | ||
| 30 | COMPATIBLE_HOST:riscv32 = "null" | 27 | COMPATIBLE_HOST:riscv32 = "null" |
