summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-10-21 13:03:52 -0700
committerHugo Landau <hlandau@openssl.org>2023-10-26 15:23:12 +0100
commit492bccfc0aca055638407bba44671141ffe7111a (patch)
tree554a90d92831e5b68e109d957e03f121fa295585 /Configurations
parente63c1a1eab6fac262f0d107e058ff02aa1fef065 (diff)
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) (cherry picked from commit d2e03c60347e19509e18a33ecb7f74502feb42ef)
Diffstat (limited to 'Configurations')
-rw-r--r--Configurations/10-main.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 46094f59c2..d1a15a1152 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -816,7 +816,7 @@ my %targets = (
},
"linux32-riscv32" => {
- inherit_from => [ "linux-generic32"],
+ inherit_from => [ "linux-latomic" ],
perlasm_scheme => "linux32",
asm_arch => 'riscv32',
},