]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
openssl: Fix build on risc64/musl
authorKhem Raj <raj.khem@gmail.com>
Wed, 4 Dec 2024 20:01:52 +0000 (12:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Dec 2024 09:17:50 +0000 (09:17 +0000)
commit5271f24643c303d0e6d3d9c12c722f5d818252fe
tree1ed5840edc6d5816866929f2ee11c88ed1fba757
parent09b6536fcc5dcd5e8e419c7a2e8c4f3da0cfa38f
openssl: Fix build on risc64/musl

__NR_riscv_hwprobe is not exported in musl's hwprobe.h
this fails to build with newer kernels

Fixes
| :85:20: error: use of undeclared identifier '__NR_riscv_hwprobe'; did you mean 'riscv_hwprobe'?
|    85 |     return syscall(__NR_riscv_hwprobe, pairs, pair_count, cpu_count, cpus, flags);
|       |                    ^~~~~~~~~~~~~~~~~~

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl/0001-Fix-builds-on-riscv64-using-musl.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl_3.4.0.bb