summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-27 19:02:33 +0100
committerSam James <sam@gentoo.org>2023-06-27 19:02:33 +0100
commitabcf1c332125b850a893019e63444c2b93d965bd (patch)
treeb7f5a6413bc5bfcc283964455e11c3a4c4c3a9ca
parentsci-libs/geos: add 3.12.0 (diff)
downloadgentoo-abcf1c332125b850a893019e63444c2b93d965bd.tar.gz
gentoo-abcf1c332125b850a893019e63444c2b93d965bd.tar.bz2
gentoo-abcf1c332125b850a893019e63444c2b93d965bd.zip
dev-libs/openssl: pass -latomic when needed (e.g. i486/old arm)
Closes: https://bugs.gentoo.org/895308 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-libs/openssl/openssl-3.0.9-r1.ebuild5
-rw-r--r--dev-libs/openssl/openssl-3.1.1-r1.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/dev-libs/openssl/openssl-3.0.9-r1.ebuild b/dev-libs/openssl/openssl-3.0.9-r1.ebuild
index 5a6463868b0d..7f042b6d39c0 100644
--- a/dev-libs/openssl/openssl-3.0.9-r1.ebuild
+++ b/dev-libs/openssl/openssl-3.0.9-r1.ebuild
@@ -135,6 +135,11 @@ src_configure() {
append-flags $(test-flags-CC -Wa,--noexecstack)
+ # bug #895308
+ append-atomic-flags
+ # Configure doesn't respect LIBS
+ export LDLIBS="${LIBS}"
+
# bug #197996
unset APPS
# bug #312551
diff --git a/dev-libs/openssl/openssl-3.1.1-r1.ebuild b/dev-libs/openssl/openssl-3.1.1-r1.ebuild
index 48588af55fd7..7f787b960f44 100644
--- a/dev-libs/openssl/openssl-3.1.1-r1.ebuild
+++ b/dev-libs/openssl/openssl-3.1.1-r1.ebuild
@@ -138,6 +138,11 @@ src_configure() {
append-flags $(test-flags-CC -Wa,--noexecstack)
+ # bug #895308
+ append-atomic-flags
+ # Configure doesn't respect LIBS
+ export LDLIBS="${LIBS}"
+
# bug #197996
unset APPS
# bug #312551