commit: 2f0496dcd57987019ba99c2e6c1bfc607d15b07f Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Fri Aug 14 06:35:01 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Fri Aug 14 06:36:04 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f0496dc
media-libs/imlib2: switch amd64 asm flag to sse2 from mmx #218382 The actual assembly code is written using SSE2, so this reflects the source better. It also has the nice feature of side-stepping the mmx mask in the amd64 profile so people can enable it now. media-libs/imlib2/imlib2-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-libs/imlib2/imlib2-9999.ebuild b/media-libs/imlib2/imlib2-9999.ebuild index 3d0fb2e..9ec411d 100644 --- a/media-libs/imlib2/imlib2-9999.ebuild +++ b/media-libs/imlib2/imlib2-9999.ebuild @@ -16,7 +16,7 @@ inherit enlightenment toolchain-funcs multilib-minimal DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" HOMEPAGE="http://www.enlightenment.org/" -IUSE="bzip2 gif jpeg cpu_flags_x86_mmx mp3 png static-libs tiff X zlib" +IUSE="bzip2 gif jpeg cpu_flags_x86_mmx cpu_flags_x86_sse2 mp3 png static-libs tiff X zlib" RDEPEND="=media-libs/freetype-2*[${MULTILIB_USEDEP}] bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) @@ -38,9 +38,9 @@ DEPEND="${RDEPEND} )" multilib_src_configure() { - # imlib2 has diff configure options for x86/amd64 mmx + # imlib2 has diff configure options for x86/amd64 assembly if [[ $(tc-arch) == amd64 ]]; then - E_ECONF+=( $(use_enable cpu_flags_x86_mmx amd64) --disable-mmx ) + E_ECONF+=( $(use_enable cpu_flags_x86_sse2 amd64) --disable-mmx ) else E_ECONF+=( --disable-amd64 $(use_enable cpu_flags_x86_mmx mmx) ) fi