Message ID | 20231223071755.2417948-1-me@grantnichol.com |
---|---|
State | Accepted |
Headers | show |
Series | [v2,1/2] package/libopenssl: add riscv target arch support | expand |
diff --git a/package/libopenssl/Config.in b/package/libopenssl/Config.in index 3199de8cfe..49958d9fd6 100644 --- a/package/libopenssl/Config.in +++ b/package/libopenssl/Config.in @@ -23,6 +23,8 @@ config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH default "linux-x86" if BR2_i386 && !BR2_TOOLCHAIN_HAS_LIBATOMIC default "linux-x86-latomic" if BR2_i386 && BR2_TOOLCHAIN_HAS_LIBATOMIC default "linux-x86_64" if BR2_x86_64 + default "linux64-riscv64" if BR2_riscv && BR2_ARCH_IS_64 + default "linux32-riscv32" if BR2_riscv && !BR2_ARCH_IS_64 # no-asm is needed with generic architectures such as # linux-generic{32,64}, see # https://github.com/openssl/openssl/issues/9839
Adds BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH for riscv32 and riscv64. Otherwise, riscv targets fall back to the linux-generic libopenssl configs. This exacerbates the issue partially addressed in openssl/openssl#22871 which causes build failures. Signed-off-by: Grant Nichol <me@grantnichol.com> --- Changes v1 -> v2: - Rebasing series package/libopenssl/Config.in | 2 ++ 1 file changed, 2 insertions(+) -- 2.43.0