dev-libs/nettle: Sync with Gentoo

It's from Gentoo commit c627cc231796bf88ce7ef664986863d32de4a5a4.
This commit is contained in:
Flatcar Buildbot 2024-07-16 11:19:32 +00:00 committed by Mathieu Tortuyaux
parent d39396502c
commit 1f5c3b5fad
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ multilib_src_configure() {
)
# https://git.lysator.liu.se/nettle/nettle/-/issues/7
if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" "${CPPFLAGS}" "${CFLAGS}" ; then
if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then
ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7."
ewarn "Disabling, sorry! See bug #920234."
myeconfargs+=( --disable-power-altivec )

View File

@ -84,7 +84,7 @@ multilib_src_configure() {
)
# https://git.lysator.liu.se/nettle/nettle/-/issues/7
if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" "${CPPFLAGS}" "${CFLAGS}" ; then
if use cpu_flags_ppc_altivec && ! tc-cpp-is-true "defined(__VSX__) && __VSX__ == 1" ${CPPFLAGS} ${CFLAGS} ; then
ewarn "cpu_flags_ppc_altivec is enabled, but nettle's asm requires >=P7."
ewarn "Disabling, sorry! See bug #920234."
myeconfargs+=( --disable-power-altivec )