Link libatomic on riscv32
authorKhem Raj <raj.khem@gmail.com>
Sat, 21 Oct 2023 20:03:52 +0000 (13:03 -0700)
committerHugo Landau <hlandau@openssl.org>
Thu, 26 Oct 2023 14:22:20 +0000 (15:22 +0100)
commitd2e03c60347e19509e18a33ecb7f74502feb42ef
treeef8476a28e13aca69dc881e8b37c6bfc08539be2
parente2f69d435bdc263fa4c30ee77484a0d2f6a8ff46
Link libatomic on riscv32

GCC toolchains on linux are not able to build libcrypto without linking
to libatomic as it does not have all needed atomics implemented as
intrinsics

Fixes errors like

| ld: ./libcrypto.so: undefined reference to `__atomic_is_lock_free'

CLA: trivial
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22460)
Configurations/10-main.conf