Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 1 | require libunwind.inc |
| 2 | |
| 3 | SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \ |
| 4 | file://0003-x86-Stub-out-x86_local_resume.patch \ |
| 5 | file://0004-Fix-build-on-mips-musl.patch \ |
| 6 | file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \ |
| 7 | file://0006-Fix-for-X32.patch \ |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 8 | file://0001-src-Gtrace-remove-unguarded-print-calls.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 9 | " |
| 10 | SRC_URI:append:libc-musl = " file://musl-header-conflict.patch" |
| 11 | |
| 12 | SRC_URI[sha256sum] = "4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976" |
| 13 | |
| 14 | EXTRA_OECONF:append:libc-musl = " --disable-documentation --disable-tests --enable-static" |
| 15 | |
| 16 | # http://errors.yoctoproject.org/Errors/Details/20487/ |
| 17 | ARM_INSTRUCTION_SET:armv4 = "arm" |
| 18 | ARM_INSTRUCTION_SET:armv5 = "arm" |
| 19 | |
| 20 | COMPATIBLE_HOST:riscv32 = "null" |
| 21 | |
| 22 | LDFLAGS += "-Wl,-z,relro,-z,now ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" |
| 23 | |
| 24 | SECURITY_LDFLAGS:append:libc-musl = " -lssp_nonshared" |
| 25 | CACHED_CONFIGUREVARS:append:libc-musl = " LDFLAGS='${LDFLAGS} -lucontext'" |