dev-libs/libgcrypt: Sync with Gentoo

It's from Gentoo commit da3ec61bf72224423cc9ca8aaf76785d84f1e077.
This commit is contained in:
Flatcar Buildbot 2024-07-16 11:19:10 +00:00 committed by Mathieu Tortuyaux
parent 39a452916c
commit c8a4f95f16
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
4 changed files with 32 additions and 0 deletions

View File

@ -78,6 +78,14 @@ src_prepare() {
eautoreconf
}
src_configure() {
# Sensitive to optimisation; parts of the codebase are built with
# -O0 already. Don't risk it with UB.
strip-flags
multilib-minimal_src_configure
}
multilib_src_configure() {
if [[ ${CHOST} == *86*-solaris* ]] ; then
# ASM code uses GNU ELF syntax, divide in particular, we need to

View File

@ -81,6 +81,14 @@ src_prepare() {
eautoreconf
}
src_configure() {
# Sensitive to optimisation; parts of the codebase are built with
# -O0 already. Don't risk it with UB.
strip-flags
multilib-minimal_src_configure
}
multilib_src_configure() {
if [[ ${CHOST} == *86*-solaris* ]] ; then
# ASM code uses GNU ELF syntax, divide in particular, we need to

View File

@ -84,6 +84,14 @@ src_prepare() {
eautoreconf
}
src_configure() {
# Sensitive to optimisation; parts of the codebase are built with
# -O0 already. Don't risk it with UB.
strip-flags
multilib-minimal_src_configure
}
multilib_src_configure() {
if [[ ${CHOST} == *86*-solaris* ]] ; then
# ASM code uses GNU ELF syntax, divide in particular, we need to

View File

@ -85,6 +85,14 @@ src_prepare() {
eautoreconf
}
src_configure() {
# Sensitive to optimisation; parts of the codebase are built with
# -O0 already. Don't risk it with UB.
strip-flags
multilib-minimal_src_configure
}
multilib_src_configure() {
if [[ ${CHOST} == *86*-solaris* ]] ; then
# ASM code uses GNU ELF syntax, divide in particular, we need to