summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-14 02:35:01 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-14 02:36:04 -0400
commit2f0496dcd57987019ba99c2e6c1bfc607d15b07f (patch)
tree9ea5087885282397c5394ed94a4f58c2a043bae9 /media-libs/imlib2
parentdev-ruby/bundler: version bump (diff)
downloadgentoo-2f0496dcd57987019ba99c2e6c1bfc607d15b07f.tar.gz
gentoo-2f0496dcd57987019ba99c2e6c1bfc607d15b07f.tar.bz2
gentoo-2f0496dcd57987019ba99c2e6c1bfc607d15b07f.zip
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.
Diffstat (limited to 'media-libs/imlib2')
-rw-r--r--media-libs/imlib2/imlib2-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-libs/imlib2/imlib2-9999.ebuild b/media-libs/imlib2/imlib2-9999.ebuild
index 3d0fb2ef858..9ec411dac7d 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