diff options
author | Sam James <sam@gentoo.org> | 2020-12-12 22:25:10 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-12 22:25:10 +0000 |
commit | 16351f1c34fa68463027918e9ae59268885b4927 (patch) | |
tree | 923a122f72fe22d945d5ee523a1cacc7fac0ba0d /media-libs/libjpeg-turbo | |
parent | sci-libs/hypre: ppc64 keyworded (bug #757822) (diff) | |
download | gentoo-16351f1c34fa68463027918e9ae59268885b4927.tar.gz gentoo-16351f1c34fa68463027918e9ae59268885b4927.tar.bz2 gentoo-16351f1c34fa68463027918e9ae59268885b4927.zip |
media-libs/libjpeg-turbo: fix compilaton on ppc, x32
* Drop now-unnecessary FLOATTEST workaround for tests
to pass on ppc. It was causing the build to fail
in 2.0.6.
* Update x32 workaround.
Closes: https://bugs.gentoo.org/723800
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libjpeg-turbo')
-rw-r--r-- | media-libs/libjpeg-turbo/libjpeg-turbo-2.0.6.ebuild | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.6.ebuild b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.6.ebuild index b0302e408050..3637bb4413ac 100644 --- a/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.6.ebuild +++ b/media-libs/libjpeg-turbo/libjpeg-turbo-2.0.6.ebuild @@ -83,20 +83,14 @@ multilib_src_configure() { -DWITH_MEM_SRCDST=ON ) - [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DREQUIRE_SIMD=OFF ) #420239 + # bug #420239, bug #723800 + [[ ${ABI} == "x32" ]] && mycmakeargs+=( -DWITH_SIMD=OFF ) #420239 # mostly for Prefix, ensure that we use our yasm if installed and # not pick up host-provided nasm has_version dev-lang/yasm && ! has_version dev-lang/nasm && \ mycmakeargs+=( -DCMAKE_ASM_NASM_COMPILER=$(type -P yasm) ) - if use ppc ; then - # Workaround recommended by upstream: - # https://bugs.gentoo.org/715406#c9 - # https://github.com/libjpeg-turbo/libjpeg-turbo/issues/428 - mycmakeargs+=( -DFLOATTEST="64bit" ) - fi - cmake_src_configure } |