kumquat-buildroot/package/libopenssl/0006-Add-linux-x86-latomic-target.patch
Adam Duskett 94d48acba3 package/libopenssl: bump version to 3.1.2
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-09-02 09:36:52 +02:00

31 lines
925 B
Diff

From c80a60dca209813c33ab3d2794bc32d84c12d033 Mon Sep 17 00:00:00 2001
From: Bernd Kuhls <bernd@kuhls.net>
Date: Fri, 28 Jul 2023 17:11:25 +0200
Subject: [PATCH] Add linux-x86-latomic target
Upstream: https://github.com/openssl/openssl/pull/21590
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Configurations/10-main.conf | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
index 2200a85b16..bcf54a2a53 100644
--- a/Configurations/10-main.conf
+++ b/Configurations/10-main.conf
@@ -868,6 +868,10 @@ my %targets = (
asm_arch => 'x86',
perlasm_scheme => "elf",
},
+ "linux-x86-latomic" => {
+ inherit_from => [ "linux-x86" ],
+ ex_libs => add(threads("-latomic")),
+ },
"linux-x86-clang" => {
inherit_from => [ "linux-x86" ],
CC => "clang",
--
2.39.2