diff options
Diffstat (limited to 'dev-libs/openssl/openssl-3.0.5.ebuild')
-rw-r--r-- | dev-libs/openssl/openssl-3.0.5.ebuild | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/openssl/openssl-3.0.5.ebuild b/dev-libs/openssl/openssl-3.0.5.ebuild index 56af5a262265..83047974b399 100644 --- a/dev-libs/openssl/openssl-3.0.5.ebuild +++ b/dev-libs/openssl/openssl-3.0.5.ebuild @@ -139,6 +139,7 @@ src_prepare() { # it's still relevant: # - https://github.com/llvm/llvm-project/issues/55255 # - https://github.com/openssl/openssl/issues/18225 + # - https://github.com/openssl/openssl/issues/18663#issuecomment-1181478057 # Don't remove the no strict aliasing bits below! filter-flags -fstrict-aliasing append-flags -fno-strict-aliasing @@ -178,6 +179,18 @@ multilib_src_configure() { local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal") + # See if our toolchain supports __uint128_t. If so, it's 64bit + # friendly and can use the nicely optimized code paths, bug #460790. + #local ec_nistp_64_gcc_128 + # + # Disable it for now though (bug #469976) + # Do NOT re-enable without substantial discussion first! + # + #echo "__uint128_t i;" > "${T}"/128.c + #if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then + # ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128" + #fi + local sslout=$(./gentoo.config) einfo "Using configuration: ${sslout:-(openssl knows best)}" local config="Configure" |